api

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoogleCallback

func GoogleCallback(c *gin.Context)

GoogleCallback handle google callback

func GoogleLogin

func GoogleLogin(c *gin.Context)

GoogleLogin google login request

func Login

func Login(c *gin.Context)

Login request

func Logout

func Logout(c *gin.Context)

Logout logout

func SignUp

func SignUp(c *gin.Context)

SignUp request

func UpdatePassword

func UpdatePassword(c *gin.Context)

UpdatePassword api

func WriteResponse

func WriteResponse(c *gin.Context, code int, obj interface{})

WriteResponse Write api response

func WriteUnexpectedError

func WriteUnexpectedError(c *gin.Context, response *data.Response)

WriteUnexpectedError Write unexpected api response

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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