toml

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2017 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse() (*tConf, error)

Types

type MailConfig

type MailConfig struct {
	Server   string `toml:"server"`
	Port     int    `toml:"port"`
	Username string `toml:"username"`
	Password string `toml:"password"`
	From     string `toml:"from"`
}

func Mail

func Mail() MailConfig

type YtsConfig

type YtsConfig struct {
	PageLimit  string   `toml:"pageLimit"`
	Recipients []string `toml:"recipients"`
	Subject    string   `toml:"subject"`
}

func Yts

func Yts() YtsConfig

Jump to

Keyboard shortcuts

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