config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Scheme        string
	HostName      string
	DBHost        string
	DBUser        string
	DBPassword    string
	DBName        string
	DBPort        int
	Stage         string
	APISecret     string
	TokenLifespan int
	MailServer    dataset.MailServer
)

Functions

func EnvInit

func EnvInit(envFilePath string) error

Types

type Config added in v0.4.2

type Config struct {
	Scheme        string
	HostName      string
	DBConfig      DBConfig
	Stage         string
	APISecret     string
	TokenLifespan int
	MailServer    dataset.MailServer
}

type DBConfig added in v0.4.2

type DBConfig struct {
	DBHost     string
	DBPort     int
	DBUser     string
	DBPassword string
	DBName     string
}

Jump to

Keyboard shortcuts

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