mocks

package
v0.0.0-...-2c4dd60 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func NewStore

func NewStore(t mockConstructorTestingTNewStore) *Store

NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Store) AddStaticRelay

func (_m *Store) AddStaticRelay(relayAddr string) error

AddStaticRelay provides a mock function with given fields: relayAddr

func (*Store) DebugPrint

func (_m *Store) DebugPrint()

DebugPrint provides a mock function with given fields:

func (*Store) RemoveStaticRelay

func (_m *Store) RemoveStaticRelay(relayAddr string) error

RemoveStaticRelay provides a mock function with given fields: relayAddr

func (*Store) StaticRelays

func (_m *Store) StaticRelays() libp2p.PeerSet

StaticRelays provides a mock function with given fields:

Jump to

Keyboard shortcuts

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