Documentation
¶
Index ¶
- type ContextHandler
- type RouteCfg
- type RouteOpt
- func Handler(h ContextHandler) RouteOpt
- func Header(headers ...string) RouteOpt
- func Host(host string) RouteOpt
- func Method(methods ...string) RouteOpt
- func Pattern(pattern string) RouteOpt
- func Prefix(prefix string) RouteOpt
- func Query(queries ...string) RouteOpt
- func Schema(schemas ...string) RouteOpt
- type Server
- type ServerOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextHandler ¶
type RouteOpt ¶
type RouteOpt func(cf *RouteCfg)
func Handler ¶
func Handler(h ContextHandler) RouteOpt
type ServerOpt ¶
type ServerOpt func(*Server)
func IdleTimeout ¶
func ReadTimeout ¶
func WriteTimeout ¶
Click to show internal directories.
Click to hide internal directories.