Documentation ¶
Index ¶
- Variables
- func AddLogMulti(appID int, opType auditoplog.AuditOpType, opTarget string, ...) error
- func AddLogMultiWithExtKey(appID int, opType auditoplog.AuditOpType, opTarget string, ...) error
- func AddLogWithStr(appID, instID int, opType auditoplog.AuditOpType, opTarget string, ...) error
- func Search(dat commondata.ObjQueryInput) ([]metadata.OperationLog, int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DB storage.DI = nil
)
Functions ¶
func AddLogMulti ¶
func AddLogMulti(appID int, opType auditoplog.AuditOpType, opTarget string, contents []auditoplog.AuditLogContext, opDesc, ownerID, user string) error
func AddLogMultiWithExtKey ¶
func AddLogMultiWithExtKey(appID int, opType auditoplog.AuditOpType, opTarget string, contents []auditoplog.AuditLogExt, opDesc, ownerID, user string) error
func AddLogWithStr ¶
func AddLogWithStr(appID, instID int, opType auditoplog.AuditOpType, opTarget string, content interface{}, extKey, opDesc, ownerID, user string) error
func Search ¶
func Search(dat commondata.ObjQueryInput) ([]metadata.OperationLog, int, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.