registry

package
v0.0.0-...-19f24d8 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host string
	DB   string
	Port string
}

Config is a general config to any datasource

type Registry

type Registry interface {
	Registry(tag string, value interface{}) error
	Flush(tag string) error
	FlushAll() error
}

func NewInfluxClient

func NewInfluxClient(config Config) Registry

NewInfluxClient creates a new endpoint to influx

Jump to

Keyboard shortcuts

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