Versions in this module Expand all Collapse all v1 v1.0.2 Dec 20, 2016 Changes in this version + func APIs() []rpc.API + type PostArgs struct + FilterID int + From rpc.HexBytes + KeyName string + Padding rpc.HexBytes + Payload rpc.HexBytes + PeerID rpc.HexBytes + PoW float64 + TTL uint32 + To rpc.HexBytes + Topic whisperv5.TopicType + WorkTime uint32 + func (args *PostArgs) UnmarshalJSON(data []byte) (err error) + type PublicWhisperAPI struct + func NewPublicWhisperAPI() *PublicWhisperAPI + func (api *PublicWhisperAPI) AddSymKey(name string, key []byte) error + func (api *PublicWhisperAPI) DeleteIdentity(identity string) error + func (api *PublicWhisperAPI) DeleteSymKey(name string) error + func (api *PublicWhisperAPI) GenerateSymKey(name string) error + func (api *PublicWhisperAPI) GetFilterChanges(filterId rpc.HexNumber) []WhisperMessage + func (api *PublicWhisperAPI) GetMessages(filterId rpc.HexNumber) []WhisperMessage + func (api *PublicWhisperAPI) HasIdentity(identity string) (bool, error) + func (api *PublicWhisperAPI) HasSymKey(name string) (bool, error) + func (api *PublicWhisperAPI) MarkPeerTrusted(peerID rpc.HexBytes) error + func (api *PublicWhisperAPI) NewFilter(args WhisperFilterArgs) (*rpc.HexNumber, error) + func (api *PublicWhisperAPI) NewIdentity() (string, error) + func (api *PublicWhisperAPI) Post(args PostArgs) error + func (api *PublicWhisperAPI) RequestHistoricMessages(peerID rpc.HexBytes, data rpc.HexBytes) error + func (api *PublicWhisperAPI) UninstallFilter(filterId rpc.HexNumber) + func (api *PublicWhisperAPI) Version() (*rpc.HexNumber, error) + type WhisperFilterArgs struct + AcceptP2P bool + From []byte + KeyName string + PoW float64 + To []byte + Topics []whisperv5.TopicType + func (args *WhisperFilterArgs) UnmarshalJSON(b []byte) (err error) + type WhisperMessage struct + From string + Hash string + Padding string + Payload string + PoW float64 + Sent uint32 + TTL uint32 + To string + func NewWhisperMessage(message *whisperv5.ReceivedMessage) WhisperMessage