sign

package
v0.0.0-...-0bbac7a Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 固定字段名
	SIGN_KEY = "sig_"
)

Variables

This section is empty.

Functions

func Sign

func Sign(secret string, args *utils.Args, body []byte) string

Sign 计算签名

func VerifySign

func VerifySign(secret string, args *utils.Args, body []byte) bool

VerifySign 验证签名

Types

This section is empty.

Jump to

Keyboard shortcuts

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