controller

package
v0.1.24-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BanUserV1

func BanUserV1(w http.ResponseWriter, r *http.Request)

BanUserV1 - ban a user

func ConfirmForgotPasswordV1

func ConfirmForgotPasswordV1(w http.ResponseWriter, r *http.Request)

ConfirmForgotPasswordV1 - Submit a forgot password request

func CreateInviteV1

func CreateInviteV1(w http.ResponseWriter, r *http.Request)

CreateInviteV1 -- create new invites for new users

func CreateNewUserV1

func CreateNewUserV1(w http.ResponseWriter, r *http.Request)

CreateNewUserV1 - Create a new user

func CreateSessionV1

func CreateSessionV1(w http.ResponseWriter, r *http.Request)

CreateSessionV1 - Create a new session

func GetInvitesV1

func GetInvitesV1(w http.ResponseWriter, r *http.Request)

GetInvitesV1 -- get a list of invites

func GetSessionV1

func GetSessionV1(w http.ResponseWriter, r *http.Request)

GetSessionV1 - validate a session token

func GetUserByUsernameV1

func GetUserByUsernameV1(w http.ResponseWriter, r *http.Request)

GetUserByUsernameV1 - Get a user by username

func RefreshSessionV1

func RefreshSessionV1(w http.ResponseWriter, r *http.Request)

RefreshSessionV1 - refresh a session token

func SubmitForgotPasswordV1

func SubmitForgotPasswordV1(w http.ResponseWriter, r *http.Request)

SubmitForgotPasswordV1 - Submit a forgot password request

func SubmitOTPV1

func SubmitOTPV1(w http.ResponseWriter, r *http.Request)

SubmitOTPV1 - Submit a new OTP

func UnbanUserV1

func UnbanUserV1(w http.ResponseWriter, r *http.Request)

UnbanUserV1 - ban a user

func UpdateUserV1

func UpdateUserV1(w http.ResponseWriter, r *http.Request)

UpdateUserV1 - Update a user

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL