forwarder

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MPL-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Image = "saucelabs/forwarder:${FORWARDER_VERSION}"

	ProxyServiceName         = "proxy"
	UpstreamProxyServiceName = "upstream-proxy"
	HttpbinServiceName       = "httpbin"
	GRPCTestServiceName      = "grpctest"
)

Variables

View Source
var (
	HttpbinSchemes = []string{"http", "https", "h2"}
	ProxySchemes   = []string{"http", "https"}
)

Functions

This section is empty.

Types

type Service

type Service compose.Service

func GRPCTestService added in v1.1.2

func GRPCTestService() *Service

func HttpbinService

func HttpbinService() *Service

func ProxyService

func ProxyService() *Service

func UpstreamProxyService

func UpstreamProxyService() *Service

func (*Service) Insecure added in v1.0.3

func (s *Service) Insecure() *Service

func (*Service) Service

func (s *Service) Service() *compose.Service

func (*Service) WithBasicAuth

func (s *Service) WithBasicAuth(auth string) *Service

func (*Service) WithConnectHeader added in v1.3.0

func (s *Service) WithConnectHeader(header string) *Service

func (*Service) WithConnectTo added in v1.4.0

func (s *Service) WithConnectTo(v string) compose.ServiceBuilder

func (*Service) WithCredentials

func (s *Service) WithCredentials(credentials, address string) *Service

func (*Service) WithDNSServer added in v1.0.3

func (s *Service) WithDNSServer(servers ...string) *Service

func (*Service) WithDNSTimeout added in v1.1.0

func (s *Service) WithDNSTimeout(timeout time.Duration) *Service

func (*Service) WithDenyDomains added in v1.1.0

func (s *Service) WithDenyDomains(domains ...string) *Service

func (*Service) WithDirectDomains added in v1.1.0

func (s *Service) WithDirectDomains(domains ...string) *Service

func (*Service) WithEnv

func (s *Service) WithEnv(key, val string) *Service

func (*Service) WithGoleak

func (s *Service) WithGoleak() *Service

func (*Service) WithHTTPDialTimeout added in v1.0.3

func (s *Service) WithHTTPDialTimeout(timeout time.Duration) *Service

func (*Service) WithHeader

func (s *Service) WithHeader(header string) *Service

func (*Service) WithIP added in v1.0.3

func (s *Service) WithIP(network, ipv4 string) *Service

func (*Service) WithLocalhostMode

func (s *Service) WithLocalhostMode(mode string) *Service

func (*Service) WithMITM added in v1.1.0

func (s *Service) WithMITM() *Service

func (*Service) WithMITMCACert added in v1.1.0

func (s *Service) WithMITMCACert() *Service

func (*Service) WithMITMDomains added in v1.1.0

func (s *Service) WithMITMDomains(domains ...string) *Service

func (*Service) WithPROXYProtocol added in v1.4.0

func (s *Service) WithPROXYProtocol() *Service

func (*Service) WithPac

func (s *Service) WithPac(pac string) *Service

func (*Service) WithProtocol

func (s *Service) WithProtocol(protocol string) *Service

func (*Service) WithReadLimit added in v1.1.0

func (s *Service) WithReadLimit(limit string) *Service

func (*Service) WithResponseHeader

func (s *Service) WithResponseHeader(header string) *Service

func (*Service) WithSelfSigned added in v1.0.3

func (s *Service) WithSelfSigned(protocol string) *Service

func (*Service) WithUpstream

func (s *Service) WithUpstream(name, protocol string) *Service

func (*Service) WithWriteLimit added in v1.1.0

func (s *Service) WithWriteLimit(limit string) *Service

Jump to

Keyboard shortcuts

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