Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdapterFunc ¶
type HandlerAdapter ¶
type Middleware ¶
type Middleware func(next HandlerAdapter) HandlerAdapter
func Log ¶
func Log(logger log.Logger) Middleware
type ResultHandler ¶
type ResultHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(logger log.Logger, adapter HandlerAdapter, middlewares ...Middleware) ResultHandler
Click to show internal directories.
Click to hide internal directories.