config

package
v2.3.75 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 6 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"`
	LIMITER      config.Limiter  `yaml:"limiter"`
	Redis        config.Redis    `yaml:"redis"`
	LDAPConfig   ldapauth.Config `yaml:"ldap_config"`
}

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