Documentation ¶
Overview ¶
Package mock_resolver is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(commandFactory commands.Factory) interfaces.CommandResolver
New instantiates the Resolver
Types ¶
type EvebotResolver ¶
type EvebotResolver struct {
// contains filtered or unexported fields
}
EvebotResolver implements the Resolver interface
func (*EvebotResolver) Resolve ¶
func (ebr *EvebotResolver) Resolve(input, channel, user string) commands.EvebotCommand
Resolve resolves the command input from the Chat User and returns an EvebotCommand this is where all of the "magic" happens that basically translates a user command to an EveBot command
type MockResolver ¶
type MockResolver struct {
// contains filtered or unexported fields
}
MockResolver is a mock of Resolver interface
func NewMockResolver ¶
func NewMockResolver(ctrl *gomock.Controller) *MockResolver
NewMockResolver creates a new mock instance
func (*MockResolver) EXPECT ¶
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResolver) Resolve ¶
func (m *MockResolver) Resolve(input, channel, user string) commands.EvebotCommand
Resolve mocks base method
type MockResolverMockRecorder ¶
type MockResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockResolverMockRecorder is the mock recorder for MockResolver
func (*MockResolverMockRecorder) Resolve ¶
func (mr *MockResolverMockRecorder) Resolve(input, channel, user interface{}) *gomock.Call
Resolve indicates an expected call of Resolve
Click to show internal directories.
Click to hide internal directories.