live

package
v0.0.0-...-9648343 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Poller

func Poller(lc *Cache, targets *targetlist.List)

Types

type Cache

type Cache struct {
	LiveSetter LiveSetter
	// contains filtered or unexported fields
}

func New

func New() *Cache

func (*Cache) Live

func (c *Cache) Live(id string) bool

func (*Cache) Sync

func (c *Cache) Sync(id, vtype string) bool

type LiveSetter

type LiveSetter interface {
	SetLive(id string, live bool)
}

Jump to

Keyboard shortcuts

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