config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ServerAddr             string `env:"SERVER_ADDR"`
	ServerRoutePrefix      string `env:"SERVER_ROUTE_PREFIX"`
	ServerInitTimeout      string `env:"SERVER_INIT_TIMEOUT"`
	VaultAddr              string `env:"VAULT_ADDR"`
	VaultEngine            string `env:"VAULT_ENGINE"`
	VaultToken             string `env:"VAULT_TOKEN"`
	VaultEngineDescription string `env:"VAULT_ENGINE_DESCRIPTION"`
	GithubOrganization     string `env:"GITHUB_ORGANIZATION"`
}

func (*Config) Load

func (c *Config) Load() error

Jump to

Keyboard shortcuts

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