Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFoundHandler = errors.New("not found handler")
)
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) HandleFunc ¶
func (r *Router) HandleFunc(path string, handler HandlerFunc)
Click to show internal directories.
Click to hide internal directories.