Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
Username string
OldPassword string
NewPassword string
NewPassword2 string
Email string
Name string
}
Account is for updating account settings.
type Contact ¶
type Contact struct {
Name string
Email string
Subject string
Message string
Trap1 string // 'contact'
Trap2 string // 'website'
}
Contact form for the site admin.
type Settings ¶
type Settings struct {
Title string
Description string
AdminEmail string
URL string
NSFW bool
PostsPerPage int
PostsPerFeed int
RedisEnabled bool
RedisHost string
RedisPort int
RedisDB int
RedisPrefix string
MailEnabled bool
MailSender string
MailHost string
MailPort int
MailUsername string
MailPassword string
}
Settings are the user-facing admin settings.
Click to show internal directories.
Click to hide internal directories.