Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTLSConfig *tls.Config = nil
Functions ¶
This section is empty.
Types ¶
type AclDecision ¶ added in v1.0.0
type AclDecision struct {
Denied bool
}
type AclOptions ¶ added in v1.0.0
type AclOptions struct {
Rules []string
}
type HTTPDeliverer ¶
type HTTPDeliverer struct {
// contains filtered or unexported fields
}
HTTPDeliverer delivers via HTTP
func NewHTTPDeliverer ¶
func NewHTTPDeliverer(opts Options) *HTTPDeliverer
func (*HTTPDeliverer) Deliver ¶
func (d *HTTPDeliverer) Deliver(ctx context.Context, req *Request) (res *Response)
func (*HTTPDeliverer) SetupACL ¶ added in v1.0.0
func (d *HTTPDeliverer) SetupACL(opts AclOptions) error
func (*HTTPDeliverer) SetupProxy ¶ added in v1.0.0
func (d *HTTPDeliverer) SetupProxy(opts ProxyOptions) error
type Options ¶ added in v1.0.0
type Options struct {
Logger *zap.SugaredLogger
RequestTimeout time.Duration
}
type ProxyOptions ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.