Documentation ¶
Overview ¶
Package handlers is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { Config *config.Config Cache LongerShorter }
func LoadEnvironment ¶
func LoadEnvironment() *Environment
func (*Environment) Handle ¶
func (env *Environment) Handle(ctx *fasthttp.RequestCtx)
type LongerShorter ¶
type MockLongerShorter ¶
type MockLongerShorter struct {
// contains filtered or unexported fields
}
MockLongerShorter is a mock of LongerShorter interface.
func NewMockLongerShorter ¶
func NewMockLongerShorter(ctrl *gomock.Controller) *MockLongerShorter
NewMockLongerShorter creates a new mock instance.
func (*MockLongerShorter) EXPECT ¶
func (m *MockLongerShorter) EXPECT() *MockLongerShorterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockLongerShorterMockRecorder ¶
type MockLongerShorterMockRecorder struct {
// contains filtered or unexported fields
}
MockLongerShorterMockRecorder is the mock recorder for MockLongerShorter.
func (*MockLongerShorterMockRecorder) Longer ¶
func (mr *MockLongerShorterMockRecorder) Longer(short interface{}) *gomock.Call
Longer indicates an expected call of Longer.
func (*MockLongerShorterMockRecorder) Shorter ¶
func (mr *MockLongerShorterMockRecorder) Shorter(long interface{}) *gomock.Call
Shorter indicates an expected call of Shorter.
Click to show internal directories.
Click to hide internal directories.