service

package
Version: v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 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 ReadService

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

func NewReadService added in v0.1.0

func NewReadService(store storage.Store) *ReadService

func (*ReadService) QuerySeries added in v0.0.3

func (r *ReadService) QuerySeries(queries []common.Query) ([]common.QueryResult, []common.Series, error)

type WriteService

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

func NewWriteService added in v0.1.0

func NewWriteService(store storage.Store) *WriteService

func (*WriteService) Write added in v0.1.0

func (w *WriteService) Write(req *pb.WriteRequest) (*pb.WriteResponse, error)

TODO: support context, but protobuf is using x/net/context

Jump to

Keyboard shortcuts

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