ledgerclient

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FakeBlock

func FakeBlock() *common.Block

Types

type CustomLedgerClient

type CustomLedgerClient struct {
	Client *ledger.Client
}

func (*CustomLedgerClient) QueryBlock

func (clc *CustomLedgerClient) QueryBlock(blockNumber uint64, options ...ledger.RequestOption) (*common.Block, error)

type FakeLedgerClient

type FakeLedgerClient struct {
}

func (*FakeLedgerClient) QueryBlock

func (m *FakeLedgerClient) QueryBlock(blockNumber uint64, options ...ledger.RequestOption) (*common.Block, error)

Jump to

Keyboard shortcuts

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