app

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const ReadHeaderTimeout = 60 * time.Second

Variables

This section is empty.

Functions

func NewProxyCommand

func NewProxyCommand(p *Proxy, o *options.ProxyRunOptions) *cobra.Command

func SetupSignalHandler

func SetupSignalHandler() (stopCh <-chan struct{})

Types

type Proxy

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

func (*Proxy) ProxyServer added in v0.29.0

func (p *Proxy) ProxyServer() *server.ProxyServer

ProxyServer exposes internal state for testing.

func (*Proxy) Run added in v0.29.0

func (p *Proxy) Run(o *options.ProxyRunOptions, stopCh <-chan struct{}) error

type StopFunc

type StopFunc func()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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