frontlas

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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 *Informer) EdgeHeartbeat(edgeID uint64, meta []byte, addr net.Addr)

func (*Informer) EdgeOffline

func (informer *Informer) EdgeOffline(edgeID uint64, meta []byte, addr net.Addr)

func (*Informer) EdgeOnline

func (informer *Informer) EdgeOnline(edgeID uint64, meta []byte, addr net.Addr)

edge events

func (*Informer) ServiceHeartbeat

func (informer *Informer) ServiceHeartbeat(serviceID uint64, meta string, addr net.Addr)

func (*Informer) ServiceOffline

func (informer *Informer) ServiceOffline(serviceID uint64, meta string, addr net.Addr)

func (*Informer) ServiceOnline

func (informer *Informer) ServiceOnline(serviceID uint64, meta string, addr net.Addr)

service events

func (*Informer) SetEdgeCount

func (informer *Informer) SetEdgeCount(count int)

func (*Informer) SetServiceCount

func (informer *Informer) SetServiceCount(count int)

Jump to

Keyboard shortcuts

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