evtcache

package
v0.0.0-...-c288277 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Cache) GetAddresses

func (c *Cache) GetAddresses(serviceID string) (map[string]scanner.Status, bool)

func (*Cache) GetOnlineAddresses

func (c *Cache) GetOnlineAddresses(serviceID string) ([]string, bool)

func (*Cache) GetServiceID

func (c *Cache) GetServiceID(url string) (string, bool)

func (*Cache) ReadEvents

func (c *Cache) ReadEvents(ctx context.Context, inputCh <-chan scanner.Event) error

Jump to

Keyboard shortcuts

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