intervals

package
v0.0.0-...-92cc422 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Intervals

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

func NewIntervals

func NewIntervals(start uint64) *Intervals

func (*Intervals) Add

func (i *Intervals) Add(start, end uint64)

func (*Intervals) Last

func (i *Intervals) Last() (end uint64)

func (*Intervals) MarshalBinary

func (i *Intervals) MarshalBinary() (data []byte, err error)

func (*Intervals) Merge

func (i *Intervals) Merge(m *Intervals)

func (*Intervals) Next

func (i *Intervals) Next() (start, end uint64)

func (*Intervals) String

func (i *Intervals) String() string

func (*Intervals) UnmarshalBinary

func (i *Intervals) UnmarshalBinary(data []byte) (err error)

Jump to

Keyboard shortcuts

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