auth

package
v0.0.0-...-4702bed Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UseSignAuthored = true

Functions

func GenSign

func GenSign(timeStamp uint64, accessId string, secretKey, requestBody string) string

Types

type Auther

type Auther struct {
	AccessID  string
	SecretKey string
}

func (*Auther) Auth

func (a *Auther) Auth(req *http.Request, useSignAuthored bool, auth Auther, reqBody string)

Jump to

Keyboard shortcuts

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