whisper

package
v0.0.0-...-919ab28 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2017 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrInvalidNumberOfArgs - error invalid aruments in request
	ErrInvalidNumberOfArgs = fmt.Errorf("invalid number of arguments, expected 1")
	//ErrInvalidArgs - error invalid request format
	ErrInvalidArgs = fmt.Errorf("invalid args")
	//ErrTopicNotExist - error topic field doesn't exist in request
	ErrTopicNotExist = fmt.Errorf("topic value does not exist")
	//ErrTopicNotString - error topic is not string type
	ErrTopicNotString = fmt.Errorf("topic value is not string")
	//ErrMailboxSymkeyIDNotExist - error symKeyID field doesn't exist in request
	ErrMailboxSymkeyIDNotExist = fmt.Errorf("symKeyID does not exist")
	//ErrMailboxSymkeyIDNotString - error symKeyID is not string type
	ErrMailboxSymkeyIDNotString = fmt.Errorf("symKeyID is not string")
	//ErrPeerNotExist - error peer field doesn't exist in request
	ErrPeerNotExist = fmt.Errorf("peer does not exist")
	//ErrPeerNotString - error peer is not string type
	ErrPeerNotString = fmt.Errorf("peer is not string")
)

Functions

func RequestHistoricMessagesHandler

func RequestHistoricMessagesHandler(nodeManager common.NodeManager) (rpc.Handler, error)

RequestHistoricMessagesHandler returns an RPC handler which sends a p2p request for historic messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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