signature

package
v0.0.0-...-cf015e3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendSign

func AppendSign(key string, qs string) string

AppendSign appends the signature to query string

func Sign

func Sign(key string, qs string) string

Sign encodes query string using a key

func SignRaw

func SignRaw(key string, queryString string) (string, error)

SignRaw encodes raw query string (not sorted) using a key

func VerifyParameters

func VerifyParameters(key string, qs map[string]interface{}) bool

VerifyParameters encodes map parameters with a key and returns if parameters match signature

func VerifySign

func VerifySign(key string, qs string) bool

VerifySign extracts the signature and compare it with query string

Types

This section is empty.

Jump to

Keyboard shortcuts

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