opt

package
v0.0.0-...-084323b Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMetricsURL       = "http://localhost:3050"
	DefaultVaultEngineMount = "pls"
	DefaultVaultURL         = "http://localhost:8200"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Debug bool

	MetricsEnabled bool
	MetricsAddr    string

	ListenPort int

	Dataset string
	Project string
	Table   string

	VaultAddr                 *url.URL
	VaultToken                string
	VaultEngineMount          string
	OAuthVaultEngineMountRoot string
}

func NewConfig

func NewConfig() (*Config, error)

Jump to

Keyboard shortcuts

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