Documentation ¶
Overview ¶
Package types is for types that are used in both sse and rpc packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { Address common.Address `json:"address"` Topics []common.Hash `json:"topics"` Data []byte `json:"data,omitempty"` // Could be replaced with geth.hexutil type }
Log - Custom type because of hex string to bytes decoding error while using default geth.Log
func (*Log) UnmarshalJSON ¶
UnmarshalJSON unmarshals JSON data into a Log.
Click to show internal directories.
Click to hide internal directories.