Router2APISecret

package
v5.2.21 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAPI

func CheckAPI(c *gin.Context, urlAction string, key string) error

CheckAPI 从header解析并验证密钥 必须给定secretID param c *gin.Context param urlAction string 验证的URL动作 param key string 私钥 return error

func GetSecretID

func GetSecretID(c *gin.Context) string

GetSecretID 单独获取secret_id值

Types

This section is empty.

Jump to

Keyboard shortcuts

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