middleware

package
v0.0.0-...-ce547d9 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatewayAuth

func GatewayAuth() []app.HandlerFunc

GatewayAuth is the middleware for authentication

Types

type AuthParam

type AuthParam struct {
	Sign       string `form:"sign,required" json:"sign"`
	SignType   string `form:"sign_type,required" json:"sign_type"`
	MerchantId string `form:"merchant_id,required" json:"merchant_id"`
	NonceStr   string `form:"nonce_str,required" json:"nonce_str"`
}

AuthParam authentication required parameters

Jump to

Keyboard shortcuts

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