EthSubscribe registers a subscripion under the "eth" namespace.
(ctx context.Context, channel interface{}, args ...interface{})
| 392 | |
| 393 | // EthSubscribe registers a subscripion under the "eth" namespace. |
| 394 | func (c *Client) EthSubscribe(ctx context.Context, channel interface{}, args ...interface{}) (*ClientSubscription, error) { |
| 395 | return c.Subscribe(ctx, "eth", channel, args...) |
| 396 | } |
| 397 | |
| 398 | // ShhSubscribe registers a subscripion under the "shh" namespace. |
| 399 | func (c *Client) ShhSubscribe(ctx context.Context, channel interface{}, args ...interface{}) (*ClientSubscription, error) { |