Documentation
¶
Overview ¶
Package handler defines the global proxy handler with default constructors
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedProxyType = errors.New("unsupported proxy type")
ErrUnsupportedProxyType occurs when the proxy type is unsupported.
Functions ¶
func NewProxyHandler ¶
func NewProxyHandler( operation *highv3.Operation, options *proxyhandler.NewProxyHandlerOptions, ) (proxyhandler.ProxyHandler, error)
NewProxyHandler creates a proxy handler by type.
func RegisterProxyHandler ¶
func RegisterProxyHandler( proxyType proxyhandler.ProxyActionType, constructor proxyhandler.NewProxyHandlerFunc, )
RegisterProxyHandler registers the handler to the global registry.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package graphqlhandler evaluates and execute GraphQL requests to the remote server.
|
Package graphqlhandler evaluates and execute GraphQL requests to the remote server. |
|
Package proxyhandler defines types for the proxy handler.
|
Package proxyhandler defines types for the proxy handler. |
|
Package resthandler evaluates and execute REST requests to the remote server.
|
Package resthandler evaluates and execute REST requests to the remote server. |
|
contenttype
Package contenttype implement encoders and decoders for data by content types.
|
Package contenttype implement encoders and decoders for data by content types. |
|
parameter
Package parameter defines serialization functions for HTTP parameters.
|
Package parameter defines serialization functions for HTTP parameters. |
Click to show internal directories.
Click to hide internal directories.