mock

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2017 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKeyClient

type MockKeyClient struct {
	// contains filtered or unexported fields
}

func NewMockKeyClient

func NewMockKeyClient() *MockKeyClient

func (*MockKeyClient) NewKey

func (mock *MockKeyClient) NewKey() (address []byte)

func (*MockKeyClient) PublicKey

func (mock *MockKeyClient) PublicKey(address []byte) (publicKey []byte, err error)

func (*MockKeyClient) Sign

func (mock *MockKeyClient) Sign(signBytesString string, signAddress []byte) (signature []byte, err error)

Jump to

Keyboard shortcuts

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