proxy

package
v1.0.38 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts *Options) (http.Handler, error)

New creates a new proxy handlers.

Types

type Options

type Options struct {
	EosProxyURL         string
	WebProxyURL         string
	WebOCISProxyURL     string
	OcisRegex           string
	OcisRedirect        string
	OldInfraRegex       string
	Logger              *zap.Logger
	InsecureSkipVerify  bool
	DisableKeepAlives   bool
	MaxIdleConns        int
	MaxIdleConnsPerHost int
	IdleConnTimeout     int
	DisableCompression  bool
	MinimumSyncClient   []int
}

Jump to

Keyboard shortcuts

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