config

package
v0.0.0-...-038cae1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: GPL-3.0 Imports: 6 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 {
	MailFrom       string
	MailDomain     string
	SMTPHost       string
	SMTPPort       int
	SMTPName       string
	SMTPPassword   string
	Destination    string
	NotifyQueue    string
	RabbitmqConfig *rabbitmqconfig.Config
}

Config struct contians required config variables

func NewConfig

func NewConfig() (*Config, error)

NewConfig checks if required env variables are present, returns config instance

Jump to

Keyboard shortcuts

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