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.
Click to show internal directories.
Click to hide internal directories.