Documentation ¶
Index ¶
- func InstallB(db *mgo.Database, ev ifaces.Event, opt map[string]interface{}, ...) (bson.ObjectId, error)
- func RegAdmin(db *mgo.Database, post map[string][]string) error
- func RegFirstAdmin(db *mgo.Database, post map[string][]string) error
- func RegUser(db *mgo.Database, post map[string][]string) error
- func SaveConfig(db *mgo.Database, ev ifaces.Event, encoded_conf string) error
- func SiteHasAdmin(db *mgo.Database) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallB ¶
func InstallB(db *mgo.Database, ev ifaces.Event, opt map[string]interface{}, modn, mode string) (bson.ObjectId, error)
opt structure: Modules.modulename
func RegFirstAdmin ¶
Registers the first administrator of the site, with fixed name "admin".
func SiteHasAdmin ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.