Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router routes incoming HTTP requests to the adequate handler based on their URL path.
func (*Router) DeregisterPath ¶
DeregisterPath de-registers the HTTP handler for the given URL path.
func (*Router) HandlersCount ¶
HandlersCount returns the number of handlers that are currently registered.
func (*Router) RegisterPath ¶
RegisterPath registers a HTTP handler for serving requests at the given URL path.
Click to show internal directories.
Click to hide internal directories.