util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoSign

func DoSign(data map[string]any, apiKey string) (string, error)

DoSign *

  • 加签 *
  • @param map 参数map
  • @param apiKey key
  • @return 加签之后的值

func VerifySign

func VerifySign(data map[string]any, apiKey, signStr string) (bool, error)

VerifySign *

  • 验签 *
  • @param map 参数map
  • @param apiKey key
  • @param signStr 接收方生成的sign
  • @return boolean

Types

This section is empty.

Jump to

Keyboard shortcuts

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