Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataFile ¶
type DataFile struct {
// The path prefix.
Prefix string
// Datatype component of the path.
Datatype string
// Subtest component of the path.
Subtest string
// UUID of this measurement file.
UUID string
// The size of this data file on disk, in bytes.
Size int
// The relative file path, generated according to the provided prefix,
// datatype, subtest, uuid and the timestamp at generation time.
Path string
}
DataFile is the file where we save measurements.
func WriteDataFile ¶
WriteDataFile creates a new JSON output file containing the representation of the data struct.
The path is determined by the provided prefix, datatype, subtest and uuid.
Click to show internal directories.
Click to hide internal directories.