Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailTemplate ¶
EmailTemplate .
type ExpireConfig ¶
type ExpireConfig struct { Code xtime.Duration `toml:"vcode"` Sess xtime.Duration `toml:"session"` }
ExpireConfig .
func (*ExpireConfig) Session ¶
func (e *ExpireConfig) Session() time.Duration
Session returns duration to be expired
func (*ExpireConfig) VCode ¶
func (e *ExpireConfig) VCode() time.Duration
VCode returns duration to be expired
type HotConfig ¶
type HotConfig struct { Exp *ExpireConfig `toml:"expire"` EmailTemplate *EmailTemplate `toml:"email_template"` }
HotConfig .
Click to show internal directories.
Click to hide internal directories.