Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
type HandlerFunc = string
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...RouterOption) *Router
type RouterOption ¶
type RouterOption func(r *Router)
func RedirectTrailingSlashOption ¶
func RedirectTrailingSlashOption(trailingSlash bool) RouterOption
Click to show internal directories.
Click to hide internal directories.