simplescheduler

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

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

Go to latest
Published: Nov 21, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchedMinHeap

type SchedMinHeap []*schedHeapItem

func (SchedMinHeap) Len

func (h SchedMinHeap) Len() int

func (SchedMinHeap) Less

func (h SchedMinHeap) Less(i, j int) bool

func (*SchedMinHeap) Pop

func (h *SchedMinHeap) Pop() interface{}

func (*SchedMinHeap) Push

func (h *SchedMinHeap) Push(x interface{})

func (SchedMinHeap) Swap

func (h SchedMinHeap) Swap(i, j int)

type SimpleExpirer

type SimpleExpirer struct {
	C chan sdk.KeyInfo
	// contains filtered or unexported fields
}

func NewSimpleExpirer

func NewSimpleExpirer(cfg *config.Config) *SimpleExpirer

func (*SimpleExpirer) Add

func (s *SimpleExpirer) Add(key sdk.KeyInfo)

func (*SimpleExpirer) Close

func (s *SimpleExpirer) Close()

func (*SimpleExpirer) GetChan

func (s *SimpleExpirer) GetChan() *chan sdk.KeyInfo

func (*SimpleExpirer) Start

func (s *SimpleExpirer) Start()

Jump to

Keyboard shortcuts

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