middleware

package
v0.0.0-...-b820d78 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizeJWT

func AuthorizeJWT(jwtServ service.JWTService) gin.HandlerFunc

*

  • validating user token, return 401 if not valid

func BeforeAfterMiddleware

func BeforeAfterMiddleware() gin.HandlerFunc

func LogResponseBody

func LogResponseBody(c *gin.Context)

Types

type MailMessage

type MailMessage struct {
	Name          string
	TitleEvent    string
	UrlPay        string
	EventType     string
	EventDate     string
	StatusPayment string
	Price         string
}

Jump to

Keyboard shortcuts

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