config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

config

Index

Constants

This section is empty.

Variables

View Source
var GlobalConfig = NewConstants()

Functions

This section is empty.

Types

type ConstantsConfig added in v0.2.0

type ConstantsConfig struct{}

func NewConstants added in v0.2.0

func NewConstants() *ConstantsConfig

func (ConstantsConfig) GetBrevAPIURl added in v0.2.0

func (c ConstantsConfig) GetBrevAPIURl() string

func (ConstantsConfig) GetDefaultClusterID added in v0.2.0

func (c ConstantsConfig) GetDefaultClusterID() string

func (ConstantsConfig) GetVersion added in v0.2.0

func (c ConstantsConfig) GetVersion() string

func (*ConstantsConfig) WithEnvVars added in v0.2.0

func (c *ConstantsConfig) WithEnvVars() *EnvVarConfig

type EnvVarConfig added in v0.2.0

type EnvVarConfig struct {
	ConstantsConfig
}

func (*EnvVarConfig) WithFileConfig added in v0.2.0

func (c *EnvVarConfig) WithFileConfig() *FileConfig

type EnvVarName added in v0.1.2

type EnvVarName string // should be caps with underscore

type FileConfig added in v0.2.0

type FileConfig struct {
	EnvVarConfig
}

func (*FileConfig) WithFlags added in v0.2.0

func (c *FileConfig) WithFlags() *FlagsConfig

type FlagsConfig added in v0.2.0

type FlagsConfig struct {
	FileConfig
}

Jump to

Keyboard shortcuts

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