Documentation ¶
Overview ¶
Package handler provides http handlers
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultMaxRecvSize int64 = 1024 * 1024 * 100 // 10Mb
DefaultMaxRecvSize specifies max recv size for handler
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(o *Options)
Option func signature
func WithClient ¶
WithClient specifies client to be used by the handler
func WithMaxRecvSize ¶
WithMaxRecvSize specifies max body size
func WithNamespace ¶
WithNamespace specifies the namespace for the handler
func WithRouter ¶
WithRouter specifies a router to be used by the handler
Click to show internal directories.
Click to hide internal directories.