Documentation ¶
Index ¶
- type Informer
- func (informer *Informer) EdgeHeartbeat(edgeID uint64, meta []byte, addr net.Addr)
- func (informer *Informer) EdgeOffline(edgeID uint64, meta []byte, addr net.Addr)
- func (informer *Informer) EdgeOnline(edgeID uint64, meta []byte, addr net.Addr)
- func (informer *Informer) ServiceHeartbeat(serviceID uint64, meta string, addr net.Addr)
- func (informer *Informer) ServiceOffline(serviceID uint64, meta string, addr net.Addr)
- func (informer *Informer) ServiceOnline(serviceID uint64, meta string, addr net.Addr)
- func (informer *Informer) SetEdgeCount(count int)
- func (informer *Informer) SetServiceCount(count int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Informer ¶
type Informer struct {
// contains filtered or unexported fields
}
func NewInformer ¶
func NewInformer(conf *config.Configuration, tmr timer.Timer) (*Informer, error)
func (*Informer) EdgeHeartbeat ¶
func (*Informer) EdgeOffline ¶
func (*Informer) EdgeOnline ¶
edge events
func (*Informer) ServiceHeartbeat ¶
func (*Informer) ServiceOffline ¶
func (*Informer) ServiceOnline ¶
service events
func (*Informer) SetEdgeCount ¶
func (*Informer) SetServiceCount ¶
Click to show internal directories.
Click to hide internal directories.