Documentation ¶
Overview ¶
Package handler provides http handlers
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultMaxRecvSize int64 = 1024 * 1024 * 100 // 10Mb
)
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(o *Options)
func WithMaxRecvSize ¶ added in v2.4.0
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
Directories ¶
Path | Synopsis |
---|---|
Package api provides an http-rpc handler which provides the entire http request over rpc
|
Package api provides an http-rpc handler which provides the entire http request over rpc |
Package broker provides a go-micro/broker handler
|
Package broker provides a go-micro/broker handler |
Package cloudevents provides a cloudevents handler publishing the event using the go-micro/client
|
Package cloudevents provides a cloudevents handler publishing the event using the go-micro/client |
Package event provides a handler which publishes an event
|
Package event provides a handler which publishes an event |
Package file serves file relative to the current directory
|
Package file serves file relative to the current directory |
Package http is a http reverse proxy handler
|
Package http is a http reverse proxy handler |
Package registry is a go-micro/registry handler
|
Package registry is a go-micro/registry handler |
Package rpc is a go-micro rpc handler.
|
Package rpc is a go-micro rpc handler. |
Package udp reads and write from a udp connection
|
Package udp reads and write from a udp connection |
Package unix reads from a unix socket expecting it to be in /tmp/path
|
Package unix reads from a unix socket expecting it to be in /tmp/path |
Package web contains the web handler including websocket support
|
Package web contains the web handler including websocket support |
Click to show internal directories.
Click to hide internal directories.