history

package
v0.0.0-...-6f42548 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2014 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type History

type History struct {
	// contains filtered or unexported fields
}

func New

func New(unitOfMeasure time.Duration) *History

func (*History) Delete

func (h *History) Delete(ts time.Time)

func (*History) End

func (h *History) End() time.Time

func (*History) Insert

func (h *History) Insert(point time.Time)

func (*History) IsEmpty

func (h *History) IsEmpty() bool

func (*History) Start

func (h *History) Start() time.Time

func (*History) Truncate

func (h *History) Truncate(limit time.Time)

Jump to

Keyboard shortcuts

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