config

package
v0.0.0-...-a8bca5e Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2017 License: MIT Imports: 3 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 {
	Sites []site.Website `json: sites`
	Email EmailConfig    `json: email`
}

func ParseConfigFile

func ParseConfigFile(filename string) (*Config, error)

type EmailConfig

type EmailConfig struct {
	Address    string   `json: address`
	Server     string   `json: server`
	Port       string   `json: port`
	Template   string   `json: template`
	Recipients []string `json: recipients`
}

Jump to

Keyboard shortcuts

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