influxdb

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddressFromInterface

func GetAddressFromInterface(value interface{}) (common.Address, error)

GetAddressFromInterface converts given value to ethereum address.

func GetFloat64FromInterface

func GetFloat64FromInterface(value interface{}) (float64, error)

GetFloat64FromInterface converts given value to float64.

func GetInt64FromInterface

func GetInt64FromInterface(value interface{}) (int64, error)

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

func GetInt64FromTagValue(value interface{}) (int64, error)

GetInt64FromTagValue converts given value to int64 The original tag value should be string

func GetTimeFromInterface

func GetTimeFromInterface(value interface{}) (time.Time, error)

GetTimeFromInterface converts given value to time.

func GetTxHashFromInterface

func GetTxHashFromInterface(value interface{}) (common.Hash, error)

GetTxHashFromInterface converts given value to ethereum tx hash.

func GetUint64FromInterface

func GetUint64FromInterface(value interface{}) (uint64, error)

GetUint64FromInterface converts given value to int64.

func GetUint64FromTagValue

func GetUint64FromTagValue(value interface{}) (uint64, error)

GetUint64FromTagValue converts given value to uint64 The original tag value should be string

func NewCliFlags

func NewCliFlags() []cli.Flag

NewCliFlags returns cli flags to configure a core client.

func NewClientFromContext

func NewClientFromContext(c *cli.Context) (client.Client, error)

NewClientFromContext returns new core client from cli flags.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL