Documentation
¶
Overview ¶
Package lxAudit is a generated GoMock package.
Index ¶
Constants ¶
View Source
const ( Insert = "insert" Find = "find" Update = "update" Upsert = "upsert" Remove = "remove" )
Variables ¶
This section is empty.
Functions ¶
func InitAuditConfigInstance ¶ added in v0.3.0
InitAuditInstance, set instance for auditConfig
Types ¶
type IAudit ¶
IAudit interface for lxaudit logger
func GetAuditInstance ¶ added in v0.3.0
GetAuditInstance, create new instance of audit with singleton auditConfig
type MockIAudit ¶ added in v0.3.0
type MockIAudit struct {
// contains filtered or unexported fields
}
MockIAudit is a mock of IAudit interface
func NewMockIAudit ¶ added in v0.3.0
func NewMockIAudit(ctrl *gomock.Controller) *MockIAudit
NewMockIAudit creates a new mock instance
func (*MockIAudit) EXPECT ¶ added in v0.3.0
func (m *MockIAudit) EXPECT() *MockIAuditMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIAudit) Log ¶ added in v0.3.0
func (m *MockIAudit) Log(arg0 string, arg1, arg2 interface{}) error
Log mocks base method
type MockIAuditMockRecorder ¶ added in v0.3.0
type MockIAuditMockRecorder struct {
// contains filtered or unexported fields
}
MockIAuditMockRecorder is the mock recorder for MockIAudit
func (*MockIAuditMockRecorder) Log ¶ added in v0.3.0
func (mr *MockIAuditMockRecorder) Log(arg0, arg1, arg2 interface{}) *gomock.Call
Log indicates an expected call of Log
Click to show internal directories.
Click to hide internal directories.