influxdb

package
v0.0.0-...-87345f3 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxDBLogBackendRepository

type InfluxDBLogBackendRepository struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(
	influxDBClient *influxdb_conn.Connection,
	expireDuration time.Duration,
) (*InfluxDBLogBackendRepository, error)

func (*InfluxDBLogBackendRepository) Fetch

func (inf *InfluxDBLogBackendRepository) Fetch(
	logName string, tagFilterMap map[string]string, start, end time.Time,
) ([]interface{}, error)

func (*InfluxDBLogBackendRepository) FetchAll

func (inf *InfluxDBLogBackendRepository) FetchAll(
	logName string, tagFilterMap map[string]string,
) ([]interface{}, error)

func (*InfluxDBLogBackendRepository) ForceFlush

func (inf *InfluxDBLogBackendRepository) ForceFlush() error

func (*InfluxDBLogBackendRepository) Write

func (inf *InfluxDBLogBackendRepository) Write(
	logName string, tagMap map[string]string, data string,
	eventTime time.Time,
) error

Jump to

Keyboard shortcuts

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