config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	URL               string
	Token             string
	DefaultDatacenter string
	DefaultAccountID  string
	Retries           int
	RetryInterval     time.Duration
}

type Config

type Config struct {
	SkipSSL         bool
	LogLevel        string
	LogTimestamp    bool
	Username        string
	Password        string
	CatalogFilename string
	API             API
}

func Get

func Get() *Config

Jump to

Keyboard shortcuts

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