Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerSpec ¶
HandlerSpec is used to describe a HTTP API.
func NewHandlerSpec ¶
func NewHandlerSpec(method, path string, handler Handler) *HandlerSpec
NewHandlerSpec constructs a brand new HandlerSpec.
Click to show internal directories.
Click to hide internal directories.