rbts

package module
v0.0.0-...-a72918b Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 4 Imported by: 0

README

RBTS

A really bad time series. Please don't use this.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Iter

type Iter struct {
	ID0 uint8
	// contains filtered or unexported fields
}

Iter lets you iterate over a series. It is not concurrency-safe.

func (*Iter) Next

func (it *Iter) Next() bool

func (*Iter) Values

func (it *Iter) Values() (uint8, uint32)

type Series

type Series struct {
	sync.Mutex

	ID0 uint8
	// contains filtered or unexported fields
}

func New

func New(id0 uint8) *Series

func (*Series) Bytes

func (s *Series) Bytes() []byte

Bytes value of the series stream

func (*Series) Finish

func (s *Series) Finish()

func (*Series) Iter

func (s *Series) Iter() *Iter

func (*Series) Push

func (s *Series) Push(id uint8, v uint32)

Push an id and value to the series

Jump to

Keyboard shortcuts

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