MSP-2243 add audit_event repository

This commit is contained in:
gr-dv authored and d1slike committed 2023-10-18 13:24:47 +03:00
1 parent b2305c0f12
commit 7b5e1362be
2 files changed
+104

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
package entity
const (
EventSuccessLogin = "success_login"
EventErrorLogin = "error_login"
EventSuccessLogout = "success_logout"
EventRoleChanged = "role_changed"
EventUserChanged = "user_changed"
)
type AuditEvent struct {
Event string
Enable bool
}