Documentation
¶
Index ¶
- Variables
- func CalcTripCode(trip string) string
- func CaptchaPass(spamScore float64) bool
- func CaptchaProb(spamScore float64) float64
- func CreateHost(db *buntdb.DB, hostname string) error
- func DateFromId(id int) time.Time
- func DelAdmin(tx *buntdb.Tx, id string) error
- func DelBoard(tx *buntdb.Tx, hostname, shortname string) error
- func DelMod(tx *buntdb.Tx, host, id string) error
- func DelReply(tx *buntdb.Tx, host, board string, thread, id int) error
- func DelThread(tx *buntdb.Tx, host, board string, id int) error
- func FillReplies(tx *buntdb.Tx, host string, thread *Thread) (err error)
- func GetHostnameFromKey(key string) (string, error)
- func InitialSetup(db *buntdb.DB) error
- func MakeCaptcha() string
- func NewAdmin(tx *buntdb.Tx, in *AdminPass) error
- func NewBoard(tx *buntdb.Tx, hostname string, in *Board) error
- func NewMod(tx *buntdb.Tx, host string, in *ModPass) error
- func NewReply(tx *buntdb.Tx, host, board string, thread *Thread, in *Reply, noId bool) error
- func NewThread(tx *buntdb.Tx, host, board string, in *Thread, in2 *Reply) error
- func OperateReplyText(unsafe string) template.HTML
- func SpamScore(spam string) (float64, error)
- func TestBoard(tx *buntdb.Tx, hostname, shortname string) error
- func TestThread(tx *buntdb.Tx, host, board string, id int) error
- func UpdateBoard(tx *buntdb.Tx, hostname string, b *Board) error
- func UpdateReply(tx *buntdb.Tx, host, board string, r *Reply) error
- func VerifyCaptcha(r *http.Request) bool
- type AdminPass
- type Board
- type Metadata
- type ModPass
- type Reply
- type Thread
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewReply ¶
Types ¶
type AdminPass ¶
type Board ¶
type ModPass ¶
type Reply ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.