meta

package
v0.0.0-...-59e56fa Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Created uint64
	From    uint
	To      uint
}

func MustParseInfo

func MustParseInfo(bb []byte) *Info

func NewInfo

func NewInfo(from, to uint) *Info

func ParseInfo

func ParseInfo(bb []byte) (*Info, error)

func (*Info) Bytes

func (m *Info) Bytes() []byte

func (*Info) Nanoseconds

func (m *Info) Nanoseconds() int64

func (*Info) String

func (m *Info) String() string

type Txs

type Txs struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewTxs

func NewTxs() *Txs

func (*Txs) Finish

func (d *Txs) Finish(tx common.Hash) (latency time.Duration, err error)

func (*Txs) Start

func (d *Txs) Start(tx common.Hash)

Jump to

Keyboard shortcuts

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