unit_csv_export

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ItemNameStatus = "Status"
)

Variables

View Source
var Image []byte

Functions

func New

Types

type Config

type Config struct {
	Directory string  `json:"directory"`
	Period    float64 `json:"period"`
	Separator string  `json:"separator"`
	Items     []Item  `json:"items"`
}

type Item

type Item struct {
	Name     string `json:"item_name"`
	FileName string `json:"file_name"`
}

type UnitCsvExport

type UnitCsvExport struct {
	units_common.Unit
	// contains filtered or unexported fields
}

func (*UnitCsvExport) GetConfigMeta

func (c *UnitCsvExport) GetConfigMeta() string

func (*UnitCsvExport) InternalUnitStart

func (c *UnitCsvExport) InternalUnitStart() error

func (*UnitCsvExport) InternalUnitStop

func (c *UnitCsvExport) InternalUnitStop()

func (*UnitCsvExport) Tick

func (c *UnitCsvExport) Tick()

Jump to

Keyboard shortcuts

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