resolver

package
v0.0.0-...-5230034 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL