Documentation ¶
Overview ¶
Package handler contains the HTTP handlers that serve Vervet Underground responses.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UseDefaultMiddleware ¶
func UseDefaultMiddleware(r chi.Router)
UseDefaultMiddleware configures a chi.Router to use the default middleware in the Vervet Underground service.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler handles Vervet Underground HTTP requests.
func New ¶
func New(cfg *config.ServerConfig, store storage.ReadOnlyStorage, routerOptions ...func(r chi.Router)) *Handler
New returns a new Handler.
Click to show internal directories.
Click to hide internal directories.