auth

package
v0.0.0-...-b6467df Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router(r *gin.RouterGroup)

func SignIn

func SignIn(ctx *gin.Context)

SignIn godoc @Summary SignIn @Description SignIn @Tags Auth @Accept json @Produce json @Param credentials body auth.UserCredentials true "credentials" @Success 200 {object} auth.Res @Router /signin [post] @Security ApiKeyAuth @Security BearerAuth

func SignUp

func SignUp(ctx *gin.Context)

SignUp godoc @Summary SignUp @Description SignUp @Tags Auth @Accept json @Produce json @Param credentials body auth.UserCredentials true "credentials" @Success 201 {object} auth.Res @Router /signup [post] @Security ApiKeyAuth

func Success

func Success(ctx *gin.Context)

Success godoc @Summary Success @Description Success @Tags Auth @Accept json @Produce json @Router /success [get] @Security ApiKeyAuth

Types

This section is empty.

Jump to

Keyboard shortcuts

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