config

package
v0.0.0-...-6528de2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigFile = "./gosign.toml"
)

Variables

This section is empty.

Functions

func Load

func Load() error

Load is ...

func Save

func Save(config *Config) error

Save is ...

Types

type Config

type Config struct {
	HTTPAddr string          `` /* 281-byte string literal not displayed */
	DevMode  bool            `toml:"dev-mode" comment:"Active develop mode"`
	Postgres postgres.Config `toml:"postgres" comment:"Postgres section"`
	Redis    redis.Config    `toml:"redis" comment:"Redis section"`
	Trust    trust.Config    `toml:"trust-certs" comment:"Trust certs section"`
}

Config is ...

func Data

func Data() *Config

Data is ...

func Default

func Default() *Config

DefaultConfig is ...

Jump to

Keyboard shortcuts

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