Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶ added in v0.2.0
type Handler struct {
// contains filtered or unexported fields
}
func NewMockHandler ¶ added in v0.2.0
func NewMockHandler(options ...HandlerOption) *Handler
type HandlerOption ¶ added in v0.2.0
type HandlerOption = func(*Handler)
func WithFileSystem ¶
func WithFileSystem(fs afero.Fs) HandlerOption
func WithLogger ¶
func WithLogger(logger contracts.Logger) HandlerOption
func WithResponse ¶
func WithResponse(response config.Response) HandlerOption
Click to show internal directories.
Click to hide internal directories.