config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 1 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 {
	Port           int    `env:"PORT"`
	SmtpPort       int    `env:"SMTP_PORT"`
	SmtpPassword   string `env:"SMTP_PWD"`
	SmtpUserName   string `env:"SMTP_USER"`
	SmtpServer     string `env:"SMTP_SERVER"`
	SenderEmail    string `env:"SMTP_SENDER"`
	SenderIdentity string `env:"SMTP_IDENTITY"`
}

func NewConfig

func NewConfig() (*Config, error)

Jump to

Keyboard shortcuts

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