config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingJWTSecret = errors.New("missing jwt_secret")

Functions

This section is empty.

Types

type Config

type Config struct {
	JWTSecret string `yaml:"jwt_secret"`
}

func LoadOrCreateConfig

func LoadOrCreateConfig(configPath string, cliConfig Config) (*Config, error)

Jump to

Keyboard shortcuts

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