hubconfig

package
v0.0.0-...-2d52d2e Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 2 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 {
	Listen           string `env:"LISTEN"`
	RollbarToken     string `env:"ROLLBAR_TOKEN"`
	DatabaseDSN      string `env:"DATABASE_DSN"`
	DocumentStoreDSN string `env:"DOCUMENT_STORE_DSN"`
	CacheAddress     string `env:"CACHE_ADDRESS"`
	CachePassword    string `env:"CACHE_PASSWORD"`
	// Development Parameters
	DevProxyToNuxt        bool   `env:"DEV_PROXY_TO_NUXT"`
	DevClearExitstingData bool   `env:"DEV_CLEAR_EXISTING_DATA"`
	DevUIProxyAddr        string `env:"DEV_UI_PROXY_ADDR"`
}

Config for the Hub command line tool

func GetConfig

func GetConfig() (*Config, error)

GetConfig gets the config from the environment

Jump to

Keyboard shortcuts

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