config

package
v0.115.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// overridden by the build system
	Version     = "dev"
	BuildCommit = ""
	BuildDate   = ""
)

Functions

func Init

func Init(configFile string) error

Types

type Frontier

type Frontier struct {
	// configuration version
	Version int             `yaml:"version" mapstructure:"version"`
	Log     logger.Config   `yaml:"log" mapstructure:"log"`
	App     server.Config   `yaml:"app" mapstructure:"app"`
	DB      db.Config       `yaml:"db" mapstructure:"db"`
	UI      server.UIConfig `yaml:"ui" mapstructure:"ui"`
	SpiceDB spicedb.Config  `yaml:"spicedb" mapstructure:"spicedb"`
	Billing billing.Config  `yaml:"billing" mapstructure:"billing"`
}

func Load

func Load(serverConfigFileFromFlag string) (*Frontier, error)

Jump to

Keyboard shortcuts

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