Documentation
¶
Overview ¶
Package serverfeed reads the dmsg servers dmsg discovery publishes on its clients-by-server CXO feed, for the visor's server cache, the dmsg servers' peer discovery and TPD's marking of dmsg server visors.
Registered servers are leaves at clients-by-server/servers/<pk>, each the server's signed entry, version-framed and gzipped. Every server with at least one delegated client has a batch leaf at clients-by-server/<pk>; one of those with no registered entry is a server a hypervisor runs for its LAN.
Index ¶
Constants ¶
View Source
const ( // Prefix is the clients-by-server feed's prefix. Prefix = "clients-by-server/" // ServerPrefix is where the registered servers' leaves are. ServerPrefix = Prefix + "servers/" // Version is the server leaf's frame version. Version = 1 )
Variables ¶
This section is empty.
Functions ¶
func Delegated ¶
Delegated returns the keys, in hex, of every server that has at least one delegated client in mgr's snapshot.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.