config

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Filler = "FILLER"
)

Variables

View Source
var DefaultConfig = Config{
	Period:            300 * time.Second,
	APIKey:            Filler,
	Authorization:     Filler,
	Basepath:          Filler,
	HeartbeatInterval: hb.IntervalValue,
	HeartbeatDisabled: false,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Period            time.Duration `config:"period"`
	APIKey            string        `config:"api_key"`
	Authorization     string        `config:"authorization"`
	Basepath          string        `config:"api_baseurl"`
	HeartbeatInterval time.Duration `config:"heartbeatinterval"`
	HeartbeatDisabled bool          `config:"heartbeatdisabled"`
}

Jump to

Keyboard shortcuts

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