testutil

package
v0.0.0-...-97177e4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2018 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

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

func NewTestRegistry

func NewTestRegistry() *Registry

func (*Registry) Graph

func (r *Registry) Graph(kordID common.Address) (common.Hash, error)

func (*Registry) SetGraph

func (r *Registry) SetGraph(hash common.Hash, sig []byte) error

func (*Registry) SubscribeGraph

func (r *Registry) SubscribeGraph(kordID common.Address, updates chan common.Hash) (registry.Subscription, error)

type RegistrySubscription

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

func (*RegistrySubscription) Close

func (r *RegistrySubscription) Close() error

func (*RegistrySubscription) Err

func (r *RegistrySubscription) Err() error

type TestDPA

type TestDPA struct {
	*storage.DPA

	Dir string
}

func NewTestDPA

func NewTestDPA() (*TestDPA, error)

func (*TestDPA) Cleanup

func (t *TestDPA) Cleanup()

Jump to

Keyboard shortcuts

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