Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckMeta ¶
type CheckMeta struct {
LastCheckTime *atomic.Int64
NextCheckTime *atomic.Int64
Disable *atomic.Bool
// contains filtered or unexported fields
}
CheckMeta ...
type Client ¶
type Client struct {
AppName string
AppEnvi string
IP string
Port string
// Configuration captured by the configuration center
AppConfiguration *structs.AppConfiguration
// Service nodes: An app can register multiple service nodes
ServiceNodes map[*structs.ServiceNode]*CheckMeta
}
Client represents a service node registered to agent/proxy
Click to show internal directories.
Click to hide internal directories.