package
Version:
v0.0.0-...-11d313d
Opens a new window with list of versions in this module.
Published: Jun 5, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Listen(subscriptionRequest string, handlerFunction Handler, data interface{})
var g_subscribe = `{"jsonrpc":"2.0", "id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions"]}`
type Handler interface {
Handle(data interface{}, message []byte) error
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.