config

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const DefaultUrl = "https://api.moltin.com"

Variables

This section is empty.

Functions

func SetEnv added in v0.10.0

func SetEnv(v *Env)

Types

type Env

type Env struct {
	EPCC_API_BASE_URL                  string `env:"EPCC_API_BASE_URL"`
	EPCC_CLIENT_ID                     string `env:"EPCC_CLIENT_ID"`
	EPCC_CLIENT_SECRET                 string `env:"EPCC_CLIENT_SECRET"`
	EPCC_BETA_API_FEATURES             string `env:"EPCC_BETA_API_FEATURES"`
	EPCC_RATE_LIMIT                    uint16 `env:"EPCC_RATE_LIMIT"`
	EPCC_CLI_SUPPRESS_NO_AUTH_MESSAGES bool   `env:"EPCC_CLI_SUPPRESS_NO_AUTH_MESSAGES"`
	EPCC_RUNBOOK_DIRECTORY             string `env:"EPCC_RUNBOOK_DIRECTORY"`
}

func GetEnv added in v0.10.0

func GetEnv() *Env

Jump to

Keyboard shortcuts

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