nodebridge

package
v0.68.5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeService

type NodeService struct {
	Node types.Node
}

func (*NodeService) APIs

func (w *NodeService) APIs() []rpc.API

APIs returns a list of new APIs.

func (*NodeService) Protocols

func (w *NodeService) Protocols() []p2p.Protocol

Protocols returns a new protocols list. In this case, there are none.

func (*NodeService) Start

func (w *NodeService) Start(server *p2p.Server) error

Start is run when a service is started. It does nothing in this case but is required by `node.Service` interface.

func (*NodeService) Stop

func (w *NodeService) Stop() error

Stop is run when a service is stopped. It does nothing in this case but is required by `node.Service` interface.

type WakuService added in v0.45.1

type WakuService struct {
	Waku types.Waku
}

func (*WakuService) APIs added in v0.45.1

func (w *WakuService) APIs() []rpc.API

APIs returns a list of new APIs.

func (*WakuService) Protocols added in v0.45.1

func (w *WakuService) Protocols() []p2p.Protocol

Protocols returns a new protocols list. In this case, there are none.

func (*WakuService) Start added in v0.45.1

func (w *WakuService) Start(server *p2p.Server) error

Start is run when a service is started. It does nothing in this case but is required by `node.Service` interface.

func (*WakuService) Stop added in v0.45.1

func (w *WakuService) Stop() error

Stop is run when a service is stopped. It does nothing in this case but is required by `node.Service` interface.

type WhisperService

type WhisperService struct {
	Whisper types.Whisper
}

func (*WhisperService) APIs

func (w *WhisperService) APIs() []rpc.API

APIs returns a list of new APIs.

func (*WhisperService) Protocols

func (w *WhisperService) Protocols() []p2p.Protocol

Protocols returns a new protocols list. In this case, there are none.

func (*WhisperService) Start

func (w *WhisperService) Start(server *p2p.Server) error

Start is run when a service is started. It does nothing in this case but is required by `node.Service` interface.

func (*WhisperService) Stop

func (w *WhisperService) Stop() error

Stop is run when a service is stopped. It does nothing in this case but is required by `node.Service` interface.

Jump to

Keyboard shortcuts

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