definations

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBConnectorConfig

type DBConnectorConfig struct {
	Driver      string `yaml:"driver"`
	Address     string `yaml:"address"`
	Db          string `yaml:"db"`
	Mechanism   string `yaml:"mechanism"`
	TablePrefix string `yaml:"tablePrefix"`
}

DBConnectorConfig db connector configuration

type Proxies

type Proxies struct {
	HTTP  string `yaml:"http"`
	HTTPS string `yaml:"https"`
}

Proxies options about http proxy

func (*Proxies) FetchProxyURL

func (n *Proxies) FetchProxyURL(endpointURL string) string

FetchProxyURL fetch proxy url

func (*Proxies) Valid

func (n *Proxies) Valid() bool

Valid check if proxies configuration is valid

type TLSOptions

type TLSOptions struct {
	Enabled      bool   `yaml:"enabled"`
	CertFile     string `yaml:"certFile"`
	KeyFile      string `yaml:"keyFile"`
	CaFile       string `yaml:"caFile"`
	SkipVerify   bool   `yaml:"skipVerify"`
	VerifyClient bool   `yaml:"verifyClient"`
}

TLSOptions options about TLS

Jump to

Keyboard shortcuts

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