Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDeviceId = errors.NotAcceptable("fns: X-Fns-Device-Id is required") ErrInvalidPath = errors.Warning("fns: invalid path") ErrInvalidRequestVersions = errors.Warning("fns: invalid request versions") )
Functions ¶
func NewProxyHandler ¶
func NewProxyHandler(manager clusters.ClusterEndpointsManager, dialer transports.Dialer) transports.MuxHandler
Types ¶
type Config ¶
type Config struct {
transports.Config
}
type Option ¶
func Handler ¶
func Handler(handler transports.MuxHandler) Option
func Middleware ¶
func Middleware(middleware transports.Middleware) Option
func Transport ¶
func Transport(transport transports.Transport) Option
type Proxy ¶
type ProxyOptions ¶
type ProxyOptions struct { Log logs.Logger Config Config Runtime *runtime.Runtime Manager clusters.ClusterEndpointsManager Dialer transports.Dialer }
Click to show internal directories.
Click to hide internal directories.