Documentation
¶
Overview ¶
Package snmp is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) SendSNMPMessage ¶
func (m *MockService) SendSNMPMessage(ctx context.Context, chat uint32)
SendSNMPMessage mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) SendSNMPMessage ¶
func (mr *MockServiceMockRecorder) SendSNMPMessage(ctx, chat interface{}) *gomock.Call
SendSNMPMessage indicates an expected call of SendSNMPMessage
type Service ¶
func NewInstrumentService ¶
func NewService ¶
func NewService(alert alert.Service, ml machineLearning.Service) Service
NewService returns a new SNMP service for sending SNMP messages. A SNMP server is also started on port 9162
Click to show internal directories.
Click to hide internal directories.