config

package
v0.0.0-...-406b088 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2018 License: MIT Imports: 4 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 {
	DbStr        string
	GM           string
	GifSicle     string
	SRGB         string
	AttDir       string
	S3Bucket     string
	MP3Zip       string
	AttURL       string
	SMTPHost     string
	SMTPPort     int
	SMTPUsername string
	SMTPPassword string
	SMTPFrom     string
	SMTPBcc      string
}

Config holds program configuration taken from ini file

func Load

func Load() (*Config, error)

Load loads config file from -conf flag or (if flag is not set) from the default location PROGRAM_DIR/clio.ini

Jump to

Keyboard shortcuts

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