proofserver

package
v2.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

type Mock struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Mock proof server

func NewMock

func NewMock(addr string, provingDuration time.Duration) *Mock

NewMock creates a new mock server

func (*Mock) Run

func (s *Mock) Run(ctx context.Context) error

Run the mock server. Use ctx to stop it via cancel

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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