fcgw

package module
v0.0.0-...-be0da4e Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2015 License: LGPL-3.0 Imports: 7 Imported by: 0

README

fcgw

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxServer

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

func NewInfluxServer

func NewInfluxServer(st *SeriesTable) *InfluxServer

func (*InfluxServer) Close

func (is *InfluxServer) Close() error

func (*InfluxServer) Open

func (is *InfluxServer) Open() error

type MetaStore

type MetaStore struct{}

func (MetaStore) Authenticate

func (ms MetaStore) Authenticate(username, password string) (ui *meta.UserInfo, err error)

func (MetaStore) Database

func (ms MetaStore) Database(name string) (*meta.DatabaseInfo, error)

func (MetaStore) Users

func (ms MetaStore) Users() ([]meta.UserInfo, error)

func (MetaStore) WaitForLeader

func (ms MetaStore) WaitForLeader(timeout time.Duration) error

type PointsConverter

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

func NewPointsConverter

func NewPointsConverter(st *SeriesTable) *PointsConverter

func (*PointsConverter) WritePoints

func (pc *PointsConverter) WritePoints(p *cluster.WritePointsRequest) error

type RawPoint

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

type Series

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

func NewSeries

func NewSeries(name SeriesName, tags SeriesTags) *Series

func (*Series) Append

func (s *Series) Append(t TimeVal, v float64)

func (*Series) Key

func (s *Series) Key() SeriesKey

type SeriesKey

type SeriesKey string

type SeriesName

type SeriesName string

type SeriesTable

type SeriesTable struct {
	Logger *log.Logger
	// contains filtered or unexported fields
}

func NewSeriesTable

func NewSeriesTable() *SeriesTable

func (*SeriesTable) Insert

func (st *SeriesTable) Insert(series *Series) error

func (*SeriesTable) Series

func (st *SeriesTable) Series(key SeriesKey) *Series

type SeriesTags

type SeriesTags map[string]string

type TimeVal

type TimeVal uint32

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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