interval_iter

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2018 License: AGPL-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 IntervalIterFactory

type IntervalIterFactory struct {
	Iters []iter.IntervalIter

	TickChans map[iter.IntervalIter]chan time.Time
	// contains filtered or unexported fields
}

func (*IntervalIterFactory) Make

func (tf *IntervalIterFactory) Make(collectFrom string, filename slowlog.FilenameFunc, tickChan chan time.Time) iter.IntervalIter

func (*IntervalIterFactory) Reset

func (tf *IntervalIterFactory) Reset()

type Iter

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

func NewIter

func NewIter(intervalChan chan *iter.Interval) *Iter

func (*Iter) Calls

func (i *Iter) Calls() []string

func (*Iter) IntervalChan

func (i *Iter) IntervalChan() chan *iter.Interval

func (*Iter) Reset

func (i *Iter) Reset()

func (*Iter) Start

func (i *Iter) Start()

func (*Iter) Stop

func (i *Iter) Stop()

func (*Iter) TickChan

func (i *Iter) TickChan() chan time.Time

Jump to

Keyboard shortcuts

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