sign

package
v0.0.0-...-201ba5e Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnCheckSign

func OnCheckSign(appkey, signature string, parm ...interface{}) bool

开始验签

func OnGetSign

func OnGetSign(appkey string, parm ...interface{}) string

生成验签

func OnInit

func OnInit()

Types

type Sign_client_tbl

type Sign_client_tbl struct {
	Id            int       `gorm:"primary_key"`
	App_key       string    //key
	App_secret    string    //secret
	Expire_time   time.Time //超时时间
	Strict_verify int       //是否强制验证:0:用户自定义,1:强制
}

Jump to

Keyboard shortcuts

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