Documentation ¶
Overview ¶
Package router provides implementation of Go API for routing http Handler wrapped by rest.Func
Package router provides implementation of Go API for routing http Handler wrapped by rest.Func
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*router)
Option represents the functional option for router.
func WithErrGroup ¶
WithErrGroup returns the option to set the error group for the router.
func WithHandler ¶
WithHandler returns the option to set the handler for the router.
func WithTimeout ¶
WithTimeout returns the option to set the timeout for the router.
Click to show internal directories.
Click to hide internal directories.