settings

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 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"`
	}
	Username string `yaml:"username"`
	Password string `yaml:"password"`
	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