Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotifyUser = func(username, msg string) { auth := smtp.PlainAuth("", sender, password, hostname) err := smtp.SendMail(hostname+":587", auth, sender, []string{username}, []byte(msg)) if err != nil { log.Printf("smtp.SendMail(%s) failed: %s", username, err) } }
View Source
var Usage = make(map[string]int64)
Functions ¶
func CheckQuota ¶
func CheckQuota(username string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.