routes

package
v0.0.0-...-d66610b Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddlewareJWT

func AuthMiddlewareJWT() *jwt.GinJWTMiddleware

@Summary เข้าสู่ระบบ @Description เข้าสู่ระบบ @Tags Authentication @Accept json @Produce json @Param login body login true "ลงชื่อเข้าสู่ระบบ" @Success 200 {object} models.SwagLogin @Router /auth/login [post]

func Healthcheck

func Healthcheck(c *gin.Context)

func InitRouter

func InitRouter() *gin.Engine

func MappingFn

func MappingFn(c *gin.Context) string

Types

type User

type User = models.User

User struct alias

Jump to

Keyboard shortcuts

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