Documentation
¶
Overview ¶
Package halaws is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeHandler ¶
MakeHandler returns a rest http handler to send alerts.
The machine learning service can be set to nil if you do not wish to save the requests.
func MakeSendAlertEndpoint ¶
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) ResetLastCall ¶
func (m *MockService) ResetLastCall(chat uint32)
ResetLastCall mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) ResetLastCall ¶
func (mr *MockServiceMockRecorder) ResetLastCall(chat interface{}) *gomock.Call
ResetLastCall indicates an expected call of ResetLastCall
func (*MockServiceMockRecorder) SendAlert ¶
func (mr *MockServiceMockRecorder) SendAlert(ctx, chatId, destination, name, variables interface{}) *gomock.Call
SendAlert indicates an expected call of SendAlert
Click to show internal directories.
Click to hide internal directories.