config

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(path string) error

Types

type Config

type Config struct {
	PasswordSalt string       `yaml:"password_salt"`
	PostgresUrl  string       `yaml:"postgres_url"`
	LOG          config.LOG   `yaml:"log"`
	HTTP         config.HTTP  `yaml:"http"`
	AUTH         config.AUTH  `yaml:"auth"`
	Redis        config.Redis `yaml:"redis"`
}

func NewConfig

func NewConfig(configPath string) (*Config, error)

Jump to

Keyboard shortcuts

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