config

package
v0.0.0-...-437def5 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP

type HTTP struct {
	TokenFile string `yaml:"tokenFile,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTP) Director

func (h *HTTP) Director(req *http.Request)

func (HTTP) String

func (h HTTP) String() string

type TLSClient

type TLSClient struct {
	InsecureSkipVerify bool   `yaml:"insecureSkipVerify,omitempty"`
	CaCertFile         string `yaml:"caCertFile,omitempty"`
}

func (TLSClient) String

func (c TLSClient) String() string

func (TLSClient) TLSConfig

func (c TLSClient) TLSConfig(address string) *tls.Config

type TLSServer

type TLSServer struct {
	CertFile   string `yaml:"certFile,omitempty"`
	KeyFile    string `yaml:"keyFile,omitempty"`
	CaCertFile string `yaml:"caCertFile,omitempty"`
}

func (TLSServer) String

func (s TLSServer) String() string

func (TLSServer) TLSConfig

func (s TLSServer) TLSConfig(address string) *tls.Config

Jump to

Keyboard shortcuts

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