Documentation ¶
Index ¶
- func GetAddressFromInterface(value interface{}) (common.Address, error)
- func GetFloat64FromInterface(value interface{}) (float64, error)
- func GetInt64FromInterface(value interface{}) (int64, error)
- func GetInt64FromTagValue(value interface{}) (int64, error)
- func GetTimeFromInterface(value interface{}) (time.Time, error)
- func GetTxHashFromInterface(value interface{}) (common.Hash, error)
- func GetUint64FromInterface(value interface{}) (uint64, error)
- func GetUint64FromTagValue(value interface{}) (uint64, error)
- func NewCliFlags() []cli.Flag
- func NewClientFromContext(c *cli.Context) (client.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAddressFromInterface ¶
GetAddressFromInterface converts given value to ethereum address.
func GetFloat64FromInterface ¶
GetFloat64FromInterface converts given value to float64.
func GetInt64FromInterface ¶
GetInt64FromInterface converts given value to int64. Since influx doesn't support fill without group by queries, any nil interface will be considered as 0
func GetInt64FromTagValue ¶
GetInt64FromTagValue converts given value to int64 The original tag value should be string
func GetTimeFromInterface ¶
GetTimeFromInterface converts given value to time.
func GetTxHashFromInterface ¶
GetTxHashFromInterface converts given value to ethereum tx hash.
func GetUint64FromInterface ¶
GetUint64FromInterface converts given value to int64.
func GetUint64FromTagValue ¶
GetUint64FromTagValue converts given value to uint64 The original tag value should be string
func NewCliFlags ¶
NewCliFlags returns cli flags to configure a core client.
func NewClientFromContext ¶
NewClientFromContext returns new core client from cli flags.
Types ¶
This section is empty.