Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessTokensConfig ¶
type AccessTokensConfig struct {
SendGridKey string `json:"send_grid_key"`
}
func AccessTokens ¶
func AccessTokens() AccessTokensConfig
type DBConfig ¶
type EmailAddressesConfig ¶
type EmailAddressesConfig struct { FromSupport mail.Address `json:"from_support"` FromNoReply mail.Address `json:"from_no_reply"` ToAdmin mail.Address `json:"to_admin"` }
func Emails ¶
func Emails() EmailAddressesConfig
type PathsConfig ¶
type PathsConfig struct {
SaveDir string `json:"save_dir"`
}
func Paths ¶
func Paths() PathsConfig
type RedisConfig ¶
type RedisConfig struct { Host string `json:"host"` Password string `json:"password"` DB int `json:"db"` }
func Redis ¶
func Redis() RedisConfig
Click to show internal directories.
Click to hide internal directories.