Documentation
¶
Index ¶
- Constants
- func RegisterPollCenter(area int32, resources interfaces.IResources, listener cache.ICacheListener)
- type PollCenter
- func (this *PollCenter) Add(poll *types.Poll) error
- func (this *PollCenter) AddAll(polls []*types.Poll)
- func (this *PollCenter) Names(groupName, vendor, series, family, software, hardware, version string) []string
- func (this *PollCenter) PollByKey(args ...string) *types.Poll
- func (this *PollCenter) PollByName(name string) *types.Poll
- func (this *PollCenter) PollKey(poll *types.Poll) string
- func (this *PollCenter) PollsByGroup(groupName, vendor, series, family, software, hardware, version string) []*types.Poll
- type PollServicePoint
- func (this *PollServicePoint) Delete(pb proto.Message, vnic interfaces.IVirtualNetworkInterface) (proto.Message, error)
- func (this *PollServicePoint) EndPoint() string
- func (this *PollServicePoint) Failed(pb proto.Message, vnic interfaces.IVirtualNetworkInterface, ...) (proto.Message, error)
- func (this *PollServicePoint) Get(pb proto.Message, vnic interfaces.IVirtualNetworkInterface) (proto.Message, error)
- func (this *PollServicePoint) Patch(pb proto.Message, vnic interfaces.IVirtualNetworkInterface) (proto.Message, error)
- func (this *PollServicePoint) Post(pb proto.Message, vnic interfaces.IVirtualNetworkInterface) (proto.Message, error)
- func (this *PollServicePoint) Put(pb proto.Message, vnic interfaces.IVirtualNetworkInterface) (proto.Message, error)
- func (this *PollServicePoint) Topic() string
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) 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) PollByName ¶
func (this *PollCenter) PollByName(name string) *types.Poll
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 (this *PollServicePoint) Delete(pb proto.Message, vnic interfaces.IVirtualNetworkInterface) (proto.Message, error)
func (*PollServicePoint) EndPoint ¶
func (this *PollServicePoint) EndPoint() string
func (*PollServicePoint) Failed ¶
func (this *PollServicePoint) Failed(pb proto.Message, vnic interfaces.IVirtualNetworkInterface, msg *types2.Message) (proto.Message, error)
func (*PollServicePoint) Get ¶
func (this *PollServicePoint) Get(pb proto.Message, vnic interfaces.IVirtualNetworkInterface) (proto.Message, error)
func (*PollServicePoint) Patch ¶
func (this *PollServicePoint) Patch(pb proto.Message, vnic interfaces.IVirtualNetworkInterface) (proto.Message, error)
func (*PollServicePoint) Post ¶
func (this *PollServicePoint) Post(pb proto.Message, vnic interfaces.IVirtualNetworkInterface) (proto.Message, error)
func (*PollServicePoint) Put ¶
func (this *PollServicePoint) Put(pb proto.Message, vnic interfaces.IVirtualNetworkInterface) (proto.Message, error)
func (*PollServicePoint) Topic ¶
func (this *PollServicePoint) Topic() string
Click to show internal directories.
Click to hide internal directories.