Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPointMissingTag = errors.New("tsdb: point missing tag") ErrDBClosed = errors.New("tsdb: db is closed") )
Functions ¶
This section is empty.
Types ¶
type Point ¶
type Point[T any] struct { // contains filtered or unexported fields }
Point 代表时序数据的一个点,只读的
type TSDB ¶
type TSDB[T any] struct { // contains filtered or unexported fields }
func (*TSDB[T]) QueryPoints ¶
QueryPoints 查询数据点
func (*TSDB[T]) WritePoints ¶
WritePoints 写入数据点
Click to show internal directories.
Click to hide internal directories.