client

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 2 Imported by: 0

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

Populate Single Client

func PopulateClients added in v1.4.7

func PopulateClients(clientJsons []string, signatureScheme string) error

PopulateClients This is a workaround for blobber tests that requires multiple clients to test authticket functionality

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

func GetClients added in v1.4.7

func GetClients() []*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