Documentation ¶
Index ¶
- func Anonlog(li rscore.Login, u rscore.User, r *http.Request)
- func Chadminstatus(db *bolt.DB, op int, umax int, c *rscore.Apicall, tu rscore.User, ...) (bool, rscore.User)
- func Chpass(db *bolt.DB, settings rscore.Settings, c *rscore.Apicall, tu rscore.User, ...) (bool, rscore.User)
- func Getloginobj(u rscore.User) rscore.Login
- func Isadminorme(db *bolt.DB, settings rscore.Settings, c *rscore.Apicall, tu rscore.User, ...) bool
- func Rmuser(db *bolt.DB, settings rscore.Settings, c *rscore.Apicall, tu rscore.User, ...) (bool, rscore.Settings)
- func Senduser(u rscore.User, r *http.Request, w http.ResponseWriter, ...)
- func Setpass(u rscore.User, pass string) (bool, rscore.User)
- func Userv(db *bolt.DB, w http.ResponseWriter, umax int, c *rscore.Apicall, alevreq int) (bool, rscore.User)
- func Valskey(db *bolt.DB, uname string, skey string, umax int) (bool, rscore.User)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Chadminstatus ¶
func Chadminstatus(db *bolt.DB, op int, umax int, c *rscore.Apicall, tu rscore.User, w http.ResponseWriter) (bool, rscore.User)
Changes user admin status
func Chpass ¶
func Chpass(db *bolt.DB, settings rscore.Settings, c *rscore.Apicall, tu rscore.User, w http.ResponseWriter) (bool, rscore.User)
Changes user password
func Isadminorme ¶
func Isadminorme(db *bolt.DB, settings rscore.Settings, c *rscore.Apicall, tu rscore.User, w http.ResponseWriter) bool
Returns true if initiated by admin or operation applied to initiating user
func Rmuser ¶
func Rmuser(db *bolt.DB, settings rscore.Settings, c *rscore.Apicall, tu rscore.User, w http.ResponseWriter) (bool, rscore.Settings)
Removes user account from db
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.