Versions in this module Expand all Collapse all v1 v1.7.1 Oct 3, 2017 v1.7.0 Sep 14, 2017 Changes in this version + type Client struct + func Dial(rawurl string) (*Client, error) + func NewClient(c *rpc.Client) *Client + func (ec *Client) DeleteMessageFilter(ctx context.Context, id string) error + func (ec *Client) FilterMessages(ctx context.Context, id string) ([]*whisper.Message, error) + func (ec *Client) NewMessageFilter(ctx context.Context, criteria whisper.Criteria) (string, error) + func (ec *Client) SubscribeMessages(ctx context.Context, criteria whisper.Criteria, ch chan<- *whisper.Message) (ethereum.Subscription, error) + func (sc *Client) AddPrivateKey(ctx context.Context, key []byte) (string, error) + func (sc *Client) AddSymmetricKey(ctx context.Context, key []byte) (string, error) + func (sc *Client) DeleteKeyPair(ctx context.Context, id string) (string, error) + func (sc *Client) DeleteSymmetricKey(ctx context.Context, id string) error + func (sc *Client) GenerateSymmetricKeyFromPassword(ctx context.Context, passwd []byte) (string, error) + func (sc *Client) GetSymmetricKey(ctx context.Context, id string) ([]byte, error) + func (sc *Client) HasKeyPair(ctx context.Context, id string) (bool, error) + func (sc *Client) HasSymmetricKey(ctx context.Context, id string) (bool, error) + func (sc *Client) Info(ctx context.Context) (whisper.Info, error) + func (sc *Client) MarkTrustedPeer(ctx context.Context, enode string) error + func (sc *Client) NewKeyPair(ctx context.Context) (string, error) + func (sc *Client) NewSymmetricKey(ctx context.Context) (string, error) + func (sc *Client) Post(ctx context.Context, message whisper.NewMessage) error + func (sc *Client) PrivateKey(ctx context.Context, id string) ([]byte, error) + func (sc *Client) PublicKey(ctx context.Context, id string) ([]byte, error) + func (sc *Client) SetMaxMessageSize(ctx context.Context, size uint32) error + func (sc *Client) SetMinimumPoW(ctx context.Context, pow float64) error + func (sc *Client) Version(ctx context.Context) (uint, error)