Documentation ¶
Overview ¶
Package contexttest provides utilities for testing context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockedHandler ¶
MockedHandler is a mocked handler for mocking in testing.
type MockedMuxMapper ¶
MockedMuxMapper is a mux mapper for mocking in testing.
func (*MockedMuxMapper) GetHandler ¶
func (mmm *MockedMuxMapper) GetHandler(name string) (context.Handler, bool)
GetHandler implements context.MuxMapper.
Click to show internal directories.
Click to hide internal directories.