config

package
v0.0.0-...-92a07c5 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 2 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 string
	DSN  string
	MailServiceConfig
	SheetsConfig
}

func LoadConfig

func LoadConfig() (Config, error)

type MailServiceConfig

type MailServiceConfig struct {
	Host     string
	Port     string
	Username string
	Password string
}

type SheetsConfig

type SheetsConfig struct {
	Credentials string
	SheetID     string
	SheetName   string
}

Jump to

Keyboard shortcuts

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