auth

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct{}

func (Generator) GenerateSignature

func (g Generator) GenerateSignature(req SignatureRequest) (string, error)

type SignatureGenerator

type SignatureGenerator interface {
	GenerateSignature(req SignatureRequest) (string, error)
}

type SignatureRequest

type SignatureRequest struct {
	APIKey    string
	SecretKey string
	ID        int64
	Method    string
	Timestamp int64
	Params    map[string]interface{}
}

Jump to

Keyboard shortcuts

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