config

package
v0.0.0-...-0fa33c3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIAddress          string        `split_words:"true" default:"[::]:8142"`
	MasterEncryptionKey string        `split_words:"true" required:"true"`
	DatabaseURL         string        `split_words:"true" default:"postgres://pixconf:pixconf@localhost:5432/pixconf?sslmode=prefer"`
	RotateEpochKeyTime  time.Duration `split_words:"true" default:"336h"`
	TLSCertPath         string        `split_words:"true"`
	TLSKeyPath          string        `split_words:"true"`
}

func New

func New() (*Config, error)

Jump to

Keyboard shortcuts

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