Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeService ¶
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 WhisperService ¶
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.
Click to show internal directories.
Click to hide internal directories.