Documentation ¶ Index ¶ type Module func New(ethApi SendEthereumTransaction, l *logger.Logger) *Module func (m *Module) Close() error func (m *Module) Register(vm *otto.Otto) error type SendEthereumTransaction Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Module ¶ type Module struct { // contains filtered or unexported fields } func New ¶ func New(ethApi SendEthereumTransaction, l *logger.Logger) *Module func (*Module) Close ¶ func (m *Module) Close() error func (*Module) Register ¶ func (m *Module) Register(vm *otto.Otto) error type SendEthereumTransaction ¶ type SendEthereumTransaction interface { // will return a JSON serialized transaction // and an error if there is one SendEthereumTransaction(value, to, data string) (string, error) } Source Files ¶ View all Source files module.go Click to show internal directories. Click to hide internal directories.