Versions in this module Expand all Collapse all v0 v0.2.0 Oct 27, 2015 Changes in this version + const DefaultBatchPending + const DefaultBatchSize + const DefaultBatchTimeout type Config + BatchPending int + BatchSize int + BatchTimeout toml.Duration v0.1.9 Sep 22, 2015 Changes in this version + const DefaultBindAddress + const DefaultConsistencyLevel + const DefaultDatabase + const DefaultRetentionPolicy + type Config struct + BindAddress string + Certificate string + ConsistencyLevel string + Database string + Enabled bool + RetentionPolicy string + TLSEnabled bool + func NewConfig() Config + type Handler struct + ConsistencyLevel cluster.ConsistencyLevel + Database string + Logger *log.Logger + PointsWriter interface{ ... } + RetentionPolicy string + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Service struct + BindAddress string + ConsistencyLevel cluster.ConsistencyLevel + Database string + Logger *log.Logger + MetaStore interface{ ... } + PointsWriter interface{ ... } + RetentionPolicy string + func NewService(c Config) (*Service, error) + func (s *Service) Addr() net.Addr + func (s *Service) Close() error + func (s *Service) Err() <-chan error + func (s *Service) Open() error + func (s *Service) SetLogger(l *log.Logger)