config

package
v0.9.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: AGPL-3.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultLanguage string

	Languages []string
)

Functions

func ApplyConn

func ApplyConn(override *Override)

func GetConns

func GetConns() (storage.Conns, error)

func LoadConfig

func LoadConfig() error

LoadConfig initializes the configuration values after environment variables are loaded.

Types

type Override

type Override struct {
	DbConn           string
	DbConnMode       storage.DbMode
	StateConn        string
	StateConnMode    storage.DbMode
	ResourceConn     string
	ResourceConnMode storage.DbMode
	UserConn         string
	UserConnMode     storage.DbMode
}

Jump to

Keyboard shortcuts

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