Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server struct { Name string `yaml:"name,omitempty"` Host string `yaml:"host"` Port int `yaml:"port"` } `yaml:"server"` Dirs struct { Templates string `yaml:"templates"` Static string `yaml:"static"` } `yaml:"dirs"` Auth struct { Username string `yaml:"username"` Password string `yaml:"password"` } Mail struct { Host string `yaml:"host"` Port int `yaml:"port"` Username string `yaml:"username"` Password string `yaml:"password"` TLS bool `yaml:"tls"` From string `yaml:"from"` To []string `yaml:"to"` Subject string `yaml:"subject"` } }
Config struct holds the configuration for the application
Click to show internal directories.
Click to hide internal directories.