Documentation ¶
Index ¶
Constants ¶
View Source
const ( EtherfaceDBPath = "/root/node/etherface" DefaultAttempts = 3 )
Variables ¶
View Source
var (
ErrorNoResults = errors.New("no results")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewEtherfaceClient ¶
NewEtherfaceClient creates a new Etherface client based on leveldb
type ClientOption ¶
type ClientOption func(client *etherfaceClient) error
func WithAttempts ¶
func WithAttempts(attempts uint) ClientOption
WithAttempts sets the number of attempts for querying the etherface database
type MockClient ¶ added in v0.4.19
func NewMockEtherfaceClient ¶ added in v0.4.19
func NewMockEtherfaceClient() (MockClient, error)
NewMockEtherfaceClient creates a new Etherface client based on leveldb
Click to show internal directories.
Click to hide internal directories.