Documentation ¶
Overview ¶
Package middleware provides rest.Func Middleware
Package routing provides implementation of Go API for routing http Handler wrapped by rest.Func ¶
Package middleware provides rest.Func Middleware
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeoutOption ¶
type TimeoutOption func(*timeout)
func WithErrorGroup ¶
func WithErrorGroup(eg errgroup.Group) TimeoutOption
func WithTimeout ¶
func WithTimeout(dur string) TimeoutOption
type Wrapper ¶
func NewTimeout ¶
func NewTimeout(opts ...TimeoutOption) Wrapper
Click to show internal directories.
Click to hide internal directories.