writer

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer struct {
	stop.Struct
	sync.RWMutex
	// contains filtered or unexported fields
}

Writer dumps all received data in prepared for clickhouse format

func New

func New(in chan *RowBinary.WriteBuffer, path string, fileInterval time.Duration, logger zap.Logger) *Writer

func (*Writer) IsInProgress

func (w *Writer) IsInProgress(filename string) bool

func (*Writer) Start

func (w *Writer) Start() error

func (*Writer) Stat

func (w *Writer) Stat(send func(metric string, value float64))

Jump to

Keyboard shortcuts

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