proxy

package
v0.0.0-...-1b8de1e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg types.Config, l *zap.Logger, c *http.Client, s types.SecureStorager) (p *proxy)

Types

type ProxyAuthDefinition

type ProxyAuthDefinition struct {
	Type   proxyAuthType       `json:"type"`
	Params []*proxyAuthMetaArg `json:"params"`
}

func ProxyAuthDef

func ProxyAuthDef() []*ProxyAuthDefinition

type ProxyAuthParams

type ProxyAuthParams struct {
	Type   proxyAuthType          `json:"type"`
	Params map[string]interface{} `json:"params"`
}

type ProxyAuthServicer

type ProxyAuthServicer interface {
	Do(*http.Request) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL