epochtimemock

package
v0.2012.5 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package epochtimemock implements the mock (settable) tendermint backed epochtime backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceClient

type ServiceClient interface {
	api.Backend
	tmapi.ServiceClient
}

ServiceClient is the beacon service client interface.

func New

func New(ctx context.Context, backend tmapi.Backend) (ServiceClient, error)

New constructs a new mock tendermint backed epochtime Backend instance.

Jump to

Keyboard shortcuts

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