store

package
v0.0.0-...-bd297b8 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxDBClient

type InfluxDBClient struct {
	// contains filtered or unexported fields
}

func NewInfluxDBClient

func NewInfluxDBClient(addr string, username string, password string, db string) *InfluxDBClient

func (*InfluxDBClient) Get

func (idc *InfluxDBClient) Get(cmd string) (res []client.Result, err error)

func (*InfluxDBClient) RecordEventToInflux

func (idc *InfluxDBClient) RecordEventToInflux(e *api_v1.Event)

func (*InfluxDBClient) Write

func (idc *InfluxDBClient) Write(measurement string, tags map[string]string, fields map[string]interface{}, t time.Time)

type RabbitMQClient

type RabbitMQClient struct {
	// contains filtered or unexported fields
}

func NewRabbitMQClient

func NewRabbitMQClient(conf config.Config) (*RabbitMQClient, error)

func (*RabbitMQClient) Close

func (rmc *RabbitMQClient) Close()

func (*RabbitMQClient) Publish

func (rmc *RabbitMQClient) Publish(msgBody []byte)

Jump to

Keyboard shortcuts

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