settings

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDefault

func CreateDefault()

func TestRead

func TestRead()

Types

type T

type T struct {
	URL     string
	TestURL string `yaml:"testurl"`
	Certs   struct {
		Directory string `yaml:"directory"`
		Ca        string `yaml:"ca"`
		Client    string `yaml:"client"`
		ClientKey string `yaml:"clientKey"`
	}
	UsernamePassword []string `yaml:",flow"`
	TLS              bool
}

func ReadConfig

func ReadConfig() (T, error)

Jump to

Keyboard shortcuts

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