client

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientID

func GetClientID() string

func GetClientPublicKey

func GetClientPublicKey() string

func PopulateClient

func PopulateClient(clientjson string, signatureScheme string) error

func VerifySignature

func VerifySignature(signature string, msg string) (bool, error)

Types

type Client

type Client struct {
	*zcncrypto.Wallet
	// contains filtered or unexported fields
}

func GetClient

func GetClient() *Client

type SignFunc added in v1.3.5

type SignFunc func(hash string) (string, error)
var (
	Sign SignFunc
)

Jump to

Keyboard shortcuts

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