Documentation
¶
Overview ¶
Package app is a generated GoMock package.
Index ¶
- type MockNssfApp
- func (m *MockNssfApp) Config() *factory.Config
- func (m *MockNssfApp) Context() *context.NSSFContext
- func (m *MockNssfApp) EXPECT() *MockNssfAppMockRecorder
- func (m *MockNssfApp) SetLogEnable(enable bool)
- func (m *MockNssfApp) SetLogLevel(level string)
- func (m *MockNssfApp) SetReportCaller(reportCaller bool)
- func (m *MockNssfApp) Start()
- func (m *MockNssfApp) Terminate()
- type MockNssfAppMockRecorder
- func (mr *MockNssfAppMockRecorder) Config() *gomock.Call
- func (mr *MockNssfAppMockRecorder) Context() *gomock.Call
- func (mr *MockNssfAppMockRecorder) SetLogEnable(enable any) *gomock.Call
- func (mr *MockNssfAppMockRecorder) SetLogLevel(level any) *gomock.Call
- func (mr *MockNssfAppMockRecorder) SetReportCaller(reportCaller any) *gomock.Call
- func (mr *MockNssfAppMockRecorder) Start() *gomock.Call
- func (mr *MockNssfAppMockRecorder) Terminate() *gomock.Call
- type NssfApp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNssfApp ¶
type MockNssfApp struct {
// contains filtered or unexported fields
}
MockNssfApp is a mock of NssfApp interface.
func NewMockNssfApp ¶
func NewMockNssfApp(ctrl *gomock.Controller) *MockNssfApp
NewMockNssfApp creates a new mock instance.
func (*MockNssfApp) Config ¶
func (m *MockNssfApp) Config() *factory.Config
Config mocks base method.
func (*MockNssfApp) Context ¶
func (m *MockNssfApp) Context() *context.NSSFContext
Context mocks base method.
func (*MockNssfApp) EXPECT ¶
func (m *MockNssfApp) EXPECT() *MockNssfAppMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNssfApp) SetLogEnable ¶
func (m *MockNssfApp) SetLogEnable(enable bool)
SetLogEnable mocks base method.
func (*MockNssfApp) SetLogLevel ¶
func (m *MockNssfApp) SetLogLevel(level string)
SetLogLevel mocks base method.
func (*MockNssfApp) SetReportCaller ¶
func (m *MockNssfApp) SetReportCaller(reportCaller bool)
SetReportCaller mocks base method.
type MockNssfAppMockRecorder ¶
type MockNssfAppMockRecorder struct {
// contains filtered or unexported fields
}
MockNssfAppMockRecorder is the mock recorder for MockNssfApp.
func (*MockNssfAppMockRecorder) Config ¶
func (mr *MockNssfAppMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockNssfAppMockRecorder) Context ¶
func (mr *MockNssfAppMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockNssfAppMockRecorder) SetLogEnable ¶
func (mr *MockNssfAppMockRecorder) SetLogEnable(enable any) *gomock.Call
SetLogEnable indicates an expected call of SetLogEnable.
func (*MockNssfAppMockRecorder) SetLogLevel ¶
func (mr *MockNssfAppMockRecorder) SetLogLevel(level any) *gomock.Call
SetLogLevel indicates an expected call of SetLogLevel.
func (*MockNssfAppMockRecorder) SetReportCaller ¶
func (mr *MockNssfAppMockRecorder) SetReportCaller(reportCaller any) *gomock.Call
SetReportCaller indicates an expected call of SetReportCaller.
func (*MockNssfAppMockRecorder) Start ¶
func (mr *MockNssfAppMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockNssfAppMockRecorder) Terminate ¶
func (mr *MockNssfAppMockRecorder) Terminate() *gomock.Call
Terminate indicates an expected call of Terminate.
type NssfApp ¶
type NssfApp interface {
SetLogEnable(enable bool)
SetLogLevel(level string)
SetReportCaller(reportCaller bool)
Start()
Terminate()
Context() *nssf_context.NSSFContext
Config() *factory.Config
}