config

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var C *config
View Source
var OpengistVersion = ""
View Source
var SecretKey []byte

Functions

func CheckGitVersion

func CheckGitVersion(version string) (bool, error)

func GetHomeDir

func GetHomeDir() string

func InitConfig

func InitConfig(configPath string, out io.Writer) error

func InitLog

func InitLog()

func SetupSecretKey added in v1.8.0

func SetupSecretKey()

Types

type StaticLink struct {
	Name string `yaml:"name" env:"OG_CUSTOM_STATIC_LINK_#_NAME"`
	Path string `yaml:"path" env:"OG_CUSTOM_STATIC_LINK_#_PATH"`
}

Jump to

Keyboard shortcuts

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