config

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Path of config file
	Path string

	// General config
	General = &general{}
	// Mail config
	Mail = &mail{}
	// DB config
	DB = &db{}
	// Log config
	Log = &log{}

	// AppWorkPath of binary
	AppWorkPath string
)

Functions

func Load

func Load() error

Load loads the configuration from `Path`

Types

This section is empty.

Jump to

Keyboard shortcuts

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