logics

package
v3.1.0-rc.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logics

type Logics struct {
	*backbone.Engine
	Instance storage.DI
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL