proxy

package
v0.0.0-...-6ee8545 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTimeout = time.Duration(5 * time.Second)

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	// contains filtered or unexported fields
}

func New

func New(config ProxyConfig, logger hclog.Logger) (*Proxy, error)

func (*Proxy) WriteArchiveSpan

type ProxyConfig

type ProxyConfig struct {
	TLS                bool          `yaml:"tls"`
	CaFile             string        `yaml:"cafile,omitempty"`
	ServerAddr         string        `yaml:"grpc-server"`
	ServerHostOverride string        `yaml:"grpc-server-host-override,omitempty"`
	ConnectTimeout     time.Duration `yaml:"connection-timeout,omitempty"`
}

Jump to

Keyboard shortcuts

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