Documentation ¶
Index ¶
- Constants
- func LogItemStore(upn string, accessid int, dataarr string)
- func SearchLog(dest *[]LogStore, upn string, dateFrom time.Time, dateTo time.Time, ...) error
- func SearchSecLog(dest *[]LogStoreSecurity, upn string, dateFrom time.Time, dateTo time.Time, ...) error
- type Base
- type LogStore
- type LogStoreInterface
- type LogStoreSecurity
- type SecurityLogEntry
- type SecurityLogStoreInterface
Constants ¶
View Source
const ( LOGTYPE_INFO string = "info" LOGTYPE_WARNING string = "warning" LOGTYPE_ERROR string = "error" LOGTYPE_LOGIN string = "login" LOGTYPE_USERDEVICELOGIN string = "userdevicelogin" LOGTYPE_DEVICELOGIN string = "devicelogin" LOGTYPE_DATAUPDATE string = "dataupdate" LOGTYPE_DATAINSERT string = "datainsert" LOGTYPE_DATADELETE string = "datadelete" )
Variables ¶
This section is empty.
Functions ¶
func LogItemStore ¶
Types ¶
type LogStoreInterface ¶
type LogStoreInterface interface { Store(upn string, accessid int, dataarr string) SearchLog(dest *[]LogStore, upn string, dateFrom time.Time, dateTo time.Time, search string, maxrecords int) error }
var PluginLogStore LogStoreInterface
type LogStoreSecurity ¶
type SecurityLogEntry ¶
type SecurityLogEntry struct { LogType string UPN string Timestamp time.Time Message string Entity string CurrentObject interface{} OriginalObject interface{} }
func (*SecurityLogEntry) Store ¶
func (lgx *SecurityLogEntry) Store()
type SecurityLogStoreInterface ¶
type SecurityLogStoreInterface interface { Store(data *SecurityLogEntry) SearchSecLog(dest *[]LogStoreSecurity, upn string, dateFrom time.Time, dateTo time.Time, search string, maxrecords int) error }
var PluginSecurityLogStore SecurityLogStoreInterface
Click to show internal directories.
Click to hide internal directories.