options

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuth

type BasicAuth struct {
	Login string
	Pass  string
}

type Headers

type Headers = map[string]string

type Options

type Options struct {
	ServerAddr      string
	LocalAddr       *tunl.Address
	HttpTimeout     time.Duration
	BasicAuth       *BasicAuth
	Monitor         bool
	MonitorAddr     *tunl.Address
	MonitorPort     string
	MonitorHost     string
	RequestHeaders  Headers
	ResponseHeaders Headers
	ServerPassword  string
}

Jump to

Keyboard shortcuts

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