exports

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiskCallbackFactory

func DiskCallbackFactory(
	output string,
	writeImages bool,
	writeTimeseries bool,
	wg *sync.WaitGroup,
) (common.Callback, common.CallbackTeardown)

DiskCallbackFactory returns a callback for disk writes

func GetJSONFilename added in v0.2.0

func GetJSONFilename(templateName string) string

GetJSONFilename replaces extension in template name with .json

func ParquetCallbackFactory added in v1.0.0

func ParquetCallbackFactory(
	output string,
	wg *sync.WaitGroup,
) (common.Callback, common.CallbackTeardown)

DiskCallbackFactory returns a callback for disk writes

func StdoutCallbackFactory

func StdoutCallbackFactory(
	out io.Writer,
	writeTimeseries bool,
) (common.Callback, common.CallbackTeardown)

StdoutCallbackFactory returns a callback that writes to stdout

func WriteJSON added in v0.2.0

func WriteJSON(target io.Writer, pkg *common.DataRecord, jsonFileName string)

WriteJSON into target

Types

This section is empty.

Jump to

Keyboard shortcuts

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