powermonitor

package
v0.0.0-...-d2356ba Latest Latest
Warning

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

Go to latest
Published: May 19, 2017 License: Apache-2.0 Imports: 8 Imported by: 10

Documentation

Overview

Package powermonitor parses power monitor files in the format of space separated values, and outputs CSV entries for integration with Historian v2.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValid

func IsValid(b []byte) bool

IsValid tries to determine if the given contents represent a valid power monitor file.

func Parse

func Parse(f string) (bool, string, []error)

Parse writes a CSV entry for each line in the power monitor file, and returns whether the format was valid.

func ValidLines

func ValidLines(b []byte) []string

ValidLines returns all valid power monitor lines in the given bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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