publish

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsvPublisher

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

func (*CsvPublisher) Close

func (p *CsvPublisher) Close() error

func (*CsvPublisher) Publish

func (p *CsvPublisher) Publish(tdp *tilt.TiltDataPoint)

func (*CsvPublisher) PublishAll

func (p *CsvPublisher) PublishAll(tdps []*tilt.TiltDataPoint)

type DatapointPublisher

type DatapointPublisher interface {
	io.Closer
	Publish(tdp *tilt.TiltDataPoint)
	PublishAll(tdp []*tilt.TiltDataPoint)
}

func NewCsvPublisher

func NewCsvPublisher(destDir string, fileName string) DatapointPublisher

Jump to

Keyboard shortcuts

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