controllers

package
v0.0.0-...-2b61959 Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForgotPassword

func ForgotPassword(ctx iris.Context)

func GetAllUsers

func GetAllUsers(ctx iris.Context)

func GetUser

func GetUser(ctx iris.Context)

func ResetPassword

func ResetPassword(ctx iris.Context)

func UpdateUser

func UpdateUser(ctx iris.Context)

func UserLogin

func UserLogin(ctx iris.Context)

func UserSignup

func UserSignup(ctx iris.Context)

func VerifyEmail

func VerifyEmail(ctx iris.Context)

Types

type ApiJson

type ApiJson struct {
	Status bool        `json:"status"`
	Msg    interface{} `json:"msg"`
	Data   interface{} `json:"data"`
}

func ApiResource

func ApiResource(status bool, objects interface{}, msg string) (apijson *ApiJson)

type Cred

type Cred struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

type RequestJson

type RequestJson struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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