sign

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arg

type Arg struct {
	// contains filtered or unexported fields
}

type Args

type Args struct {
	Signature  string
	SignArgKey string
	Secret     string
	// contains filtered or unexported fields
}

func NewArgs

func NewArgs(opfs ...func(args *Args)) *Args

func NewArgsWithMap

func NewArgsWithMap(args map[string]interface{}, opfs ...func(ags *Args)) *Args

func (*Args) Add

func (a *Args) Add(key, value string)

func (*Args) AddM

func (a *Args) AddM(args map[string]string)

func (*Args) AddMi

func (a *Args) AddMi(args map[string]interface{})

func (*Args) Adds

func (a *Args) Adds(args ...Arg)

func (*Args) GenSignature

func (a *Args) GenSignature() string

func (*Args) Len

func (a *Args) Len() int

func (*Args) Less

func (a *Args) Less(i, j int) bool

func (*Args) Swap

func (a *Args) Swap(i, j int)

func (*Args) VerifySign

func (a *Args) VerifySign() bool

Jump to

Keyboard shortcuts

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