config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 9 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 {
	Port    int            `koanf:"port"`
	Crypto  crypto.Config  `koanf:"crypto"`
	Storage storage.Config `koanf:"storage"`
}

Config stores application configs.

func Default

func Default() Config

Default config values.

func Load

func Load() Config

Load configs.

Jump to

Keyboard shortcuts

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