config

package
v0.0.0-...-f06a132 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 5 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 {
	DB     string `yaml:"db"`
	Domain string `yaml:"domain"`
	Email  Email  `yaml:"email"`
}

func InitConfig

func InitConfig() *Config

type Email

type Email struct {
	ServerAddress string `yaml:"server_address"`
	ServerPort    int    `yaml:"server_port"`
	EmailAddress  string `yaml:"email_address"`
	AppPassword   string `yaml:"app_password"`
}

Jump to

Keyboard shortcuts

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