qoin

package module
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BriVaCreateOrder added in v0.0.2

func BriVaCreateOrder(body map[string]interface{}) string

BriVaCreateOrder returns BRI VA Create Order API endpoint

func SetEnvironment added in v0.0.2

func SetEnvironment(environment string)

SetEnvironment set the API environment

func SetPrivateKey added in v0.0.3

func SetPrivateKey(privKey string)

SetPrivateKey set the private key for generate signature

func SetReferenceNumber added in v0.0.3

func SetReferenceNumber(refNumber string)

SetReferenceNumber set the reference number for generate signature

func SetSecretKey added in v0.0.3

func SetSecretKey(secKey string)

SetSecretKey set the secret key for generate signature

Types

type Signer added in v0.0.4

type Signer interface {
	Sign(data []byte) ([]byte, error)
}

Signer can create signatures that verify against a public key.

Jump to

Keyboard shortcuts

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