Versions in this module Expand all Collapse all v0 v0.1.1 May 17, 2023 v0.1.0 Aug 18, 2022 Changes in this version + const ClassTypeMTrend + const ClassTypeOnline + const ClassTypeRaw + const ClassTypeReduced + const ClassTypeSTrend + const ClassTypeStatic + const ClassTypeTestPt + const ClassTypeUnknown + const DataTypeComplex32 + const DataTypeFloat32 + const DataTypeFloat64 + const DataTypeInt16 + const DataTypeInt32 + const DataTypeInt64 + const DataTypeUint32 + const DataTypeUnknown + const UnassignedAuid + func FilterOutEmpty(sequence []string) []string + func FindFramesUnderPath(path string) map[string][]FrameInfo + func FindRange(n int, lowerBoundPred RangePredicate, upperBoundPred RangePredicate) (int, int) + func LocalFrameServerUri(root string) string + func MaxInt(a int, b int) int + func MaxInt32(a int32, b int32) int32 + func MaxInt64(a int64, b int64) int64 + func MinInt(a int, b int) int + func MinInt32(a int32, b int32) int32 + func MinInt64(a int64, b int64) int64 + func ProcessStreamWithComments(reader io.Reader, callback ProcessStreamHandler) + func RegisterFrameServer(name string, generator func(string) (FrameServer, error)) + func TimeSpanAsRangeString(ts TimeSpan) string + func TimeSpansOverlap(t1 TimeSpan, t2 TimeSpan) bool + type AUID = uint64 + type BasicChannel struct + Class ClassType + Name string + Rate float64 + Type DataType + type ClassType struct + Type byte + func CreateClassType(val byte) ClassType + func (ct *ClassType) Set(val byte) + func (ct *ClassType) SetString(val string) + func (ct *ClassType) UnmarshalJSON(data []byte) error + func (ct ClassType) CompatibleWith(other ClassType) bool + func (ct ClassType) MarshalJSON() ([]byte, error) + func (ct ClassType) String() string + type DataType struct + Type byte + func CreateDataType(val byte) DataType + func (dt *DataType) Set(val byte) + func (dt *DataType) SetString(val string) + func (dt *DataType) UnmarshalJSON(data []byte) error + func (dt DataType) CompatibleWith(other DataType) bool + func (dt DataType) MarshalJSON() ([]byte, error) + func (dt DataType) String() string + type FrameInfo struct + FTime time.Time + FrameType string + Name string + Path string + TimeSpan TimeSpan + type FrameServer interface + ConnectionString func() string + FrameFilePaths func(frameType string, timeSpan TimeSpan) ([]string, error) + FrameIntervals func(frameType string, timeSpan TimeSpan) ([]TimeSpan, error) + func GetFrameServer(name string) (FrameServer, error) + func NewNullFrameServer() FrameServer + type GpsSecond = int64 + const GpsInf + type LocalFrameServer struct + Root string + func NewLocalFrameServer(path string) *LocalFrameServer + func (lf *LocalFrameServer) ConnectionString() string + func (lf *LocalFrameServer) FrameFilePaths(frameType string, timeSpan TimeSpan) ([]string, error) + func (lf *LocalFrameServer) FrameIntervals(frameType string, timeSpan TimeSpan) ([]TimeSpan, error) + type ProcessStreamHandler func(string) + type RangePredicate func(int) bool + type TimeSpan struct + func CombineTimeSpans(t1 TimeSpan, t2 TimeSpan) TimeSpan + func ConstrainTimeSpans(t1 TimeSpan, t2 TimeSpan) TimeSpan + func CreateTimeSpan(start GpsSecond, end GpsSecond) TimeSpan + func (ts *TimeSpan) Extend(new_end GpsSecond) GpsSecond + func (ts *TimeSpan) UnmarshalJSON(data []byte) error + func (ts TimeSpan) Contains(second GpsSecond) bool + func (ts TimeSpan) End() GpsSecond + func (ts TimeSpan) MarshalJSON() ([]byte, error) + func (ts TimeSpan) Start() GpsSecond + func (ts TimeSpan) WideOpen() bool