Documentation ¶
Index ¶
- type Logics
- func (lgc *Logics) AddLogMulti(appID int64, opType auditoplog.AuditOpType, opTarget string, ...) error
- func (lgc *Logics) AddLogMultiWithExtKey(appID int64, opType auditoplog.AuditOpType, opTarget string, ...) error
- func (lgc *Logics) AddLogWithStr(appID, instID int64, opType auditoplog.AuditOpType, opTarget string, ...) error
- func (lgc *Logics) Search(dat *metadata.ObjQueryInput) ([]metadata.OperationLog, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logics ¶
Logics framwork need
func (*Logics) AddLogMulti ¶
func (lgc *Logics) AddLogMulti(appID int64, opType auditoplog.AuditOpType, opTarget string, contents []auditoplog.AuditLogContext, opDesc, ownerID, user string) error
AddLogMulti insert multiple row
func (*Logics) AddLogMultiWithExtKey ¶
func (lgc *Logics) AddLogMultiWithExtKey(appID int64, opType auditoplog.AuditOpType, opTarget string, contents []auditoplog.AuditLogExt, opDesc, ownerID, user string) error
AddLogMultiWithExtKey insert multiple row with extension key
func (*Logics) AddLogWithStr ¶
func (lgc *Logics) AddLogWithStr(appID, instID int64, opType auditoplog.AuditOpType, opTarget string, content interface{}, extKey, opDesc, ownerID, user string) error
AddLogWithStr insert row
func (*Logics) Search ¶
func (lgc *Logics) Search(dat *metadata.ObjQueryInput) ([]metadata.OperationLog, int, error)
Search query operation log
Click to show internal directories.
Click to hide internal directories.