mock

package
v0.0.0-...-fa704fd Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPricer

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

func NewMockService

func NewMockService(price, peerPrice uint64) *MockPricer

func (*MockPricer) PeerPrice

func (pricer *MockPricer) PeerPrice(peer, chunk penguin.Address) uint64

func (*MockPricer) Price

func (pricer *MockPricer) Price(chunk penguin.Address) uint64

Jump to

Keyboard shortcuts

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