Versions in this module Expand all Collapse all v1 v1.8.21 Jan 21, 2019 Changes in this version + type Client struct + func Dial(rawurl string) (*Client, error) + func NewClient(c *rpc.Client) *Client + 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) DeleteMessageFilter(ctx context.Context, id string) error + func (sc *Client) DeleteSymmetricKey(ctx context.Context, id string) error + func (sc *Client) FilterMessages(ctx context.Context, id string) ([]*whisper.Message, error) + func (sc *Client) GenerateSymmetricKeyFromPassword(ctx context.Context, passwd string) (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) NewMessageFilter(ctx context.Context, criteria whisper.Criteria) (string, error) + func (sc *Client) NewSymmetricKey(ctx context.Context) (string, error) + func (sc *Client) Post(ctx context.Context, message whisper.NewMessage) (string, 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) SubscribeMessages(ctx context.Context, criteria whisper.Criteria, ch chan<- *whisper.Message) (ethereum.Subscription, error) + func (sc *Client) Version(ctx context.Context) (string, error)