Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller is an interface that register handlers with a http router
var Healthz Controller = &healthz{}
Healthz controller example
type Option ¶
type Option func(opts *options)
Option func for server
func ListenAddr ¶
ListenAddr will set listen addr for the server
func WithNotFoundHandler ¶
WithNotFoundHandler set NotFoundHandler for router
Click to show internal directories.
Click to hide internal directories.