Documentation ¶
Index ¶
- type 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddPrivateKey ¶
func (*Client) AddSymmetricKey ¶
func (*Client) DeleteKeyPair ¶
func (*Client) DeleteMessageFilter ¶
func (*Client) DeleteSymmetricKey ¶
func (*Client) FilterMessages ¶
func (*Client) GenerateSymmetricKeyFromPassword ¶
func (*Client) GetSymmetricKey ¶
func (*Client) HasKeyPair ¶
func (*Client) HasSymmetricKey ¶
func (*Client) MarkTrustedPeer ¶
func (*Client) NewMessageFilter ¶
func (*Client) NewSymmetricKey ¶
func (*Client) PrivateKey ¶
func (*Client) SetMaxMessageSize ¶
func (*Client) SetMinimumPoW ¶
func (*Client) SubscribeMessages ¶
Click to show internal directories.
Click to hide internal directories.