client

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.6.0

type Config struct {
	RemoteAddr string   `toml:"remote_addr"`
	Path       string   `toml:"path"`
	Key        string   `toml:"key"`
	Crt        string   `toml:"crt"`
	DebugCA    string   `toml:"debug_ca"`
	ListenAddr string   `toml:"listen_addr"`
	Timeout    Duration `toml:"timeout"`
}

func New

func New(path string) (Config, error)

type Duration added in v0.6.4

type Duration struct {
	time.Duration
}

func (*Duration) UnmarshalText added in v0.6.4

func (d *Duration) UnmarshalText(text []byte) (err error)

Jump to

Keyboard shortcuts

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