Documentation ¶
Index ¶
- func DeleteAllSessions(r tx.Request) (interface{}, error)
- func DeleteSession(r tx.Request) (interface{}, error)
- func DeleteUser(r tx.Request) (interface{}, error)
- func GetCurrentSession(r tx.Request) (interface{}, error)
- func GetSession(r tx.Request) (interface{}, error)
- func GetSessions(r tx.Request) (interface{}, error)
- func GetUser(r tx.Request) (interface{}, error)
- func GetUsers(r tx.Request) (interface{}, error)
- func Mount(m tx.Middlewarer) http.Handler
- func PatchMe(r tx.Request) (interface{}, error)
- func PromoteUser(r tx.Request) (interface{}, error)
- func Signin(r tx.Request) (interface{}, error)
- func Signout(r tx.Request) (interface{}, error)
- func Signup(r tx.Request) (interface{}, error)
- type Authentication
- type PatchQuery
- type Promote
- type SignupForm
- type UsersParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAllSessions ¶
func DeleteSession ¶
func DeleteUser ¶
func GetCurrentSession ¶
func GetSession ¶
func GetSessions ¶
func PromoteUser ¶
Types ¶
type Authentication ¶
type PatchQuery ¶
type PatchQuery struct {
Password string `schema:"password"`
}
type Promote ¶
type Promote struct {
Permission smolboard.Permission `schema:"p,required"`
}
type SignupForm ¶
type SignupForm struct { Authentication Token string `schema:"token,required"` }
type UsersParams ¶
Click to show internal directories.
Click to hide internal directories.