polling

package
v0.0.0-...-66417ad Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TOPIC    = "Poll"
	ENDPOINT = "poll"
)

Variables

This section is empty.

Functions

func RegisterPollCenter

func RegisterPollCenter(area int32, resources interfaces.IResources, listener cache.ICacheListener)

Types

type PollCenter

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

func Polling

func Polling(resource interfaces.IResources) *PollCenter

func (*PollCenter) Add

func (this *PollCenter) Add(poll *types.Poll) error

func (*PollCenter) AddAll

func (this *PollCenter) AddAll(polls []*types.Poll)

func (*PollCenter) Names

func (this *PollCenter) Names(groupName, vendor, series, family, software, hardware, version string) []string

func (*PollCenter) PollByKey

func (this *PollCenter) PollByKey(args ...string) *types.Poll

func (*PollCenter) PollByName

func (this *PollCenter) PollByName(name string) *types.Poll

func (*PollCenter) PollKey

func (this *PollCenter) PollKey(poll *types.Poll) string

func (*PollCenter) PollsByGroup

func (this *PollCenter) PollsByGroup(groupName, vendor, series, family, software, hardware, version string) []*types.Poll

type PollServicePoint

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

func (*PollServicePoint) Delete

func (*PollServicePoint) EndPoint

func (this *PollServicePoint) EndPoint() string

func (*PollServicePoint) Failed

func (*PollServicePoint) Get

func (*PollServicePoint) Patch

func (*PollServicePoint) Post

func (*PollServicePoint) Put

func (*PollServicePoint) Topic

func (this *PollServicePoint) Topic() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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