proxy

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FileConfig config.Proxy
	Cache      *cache.Cache

	HTTPScheme string

	LogLevel  logger.Level
	LogOutput io.Writer
}

Config ...

type Proxy

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

Proxy ...

func New

func New(cfg Config) (*Proxy, error)

New ...

func (*Proxy) ListenAndServe

func (p *Proxy) ListenAndServe() error

ListenAndServe ...

Jump to

Keyboard shortcuts

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