comments for exported funcs

This commit is contained in:
Abhishek Kondur
2023-01-06 18:18:25 +05:30
parent 68ed1b8b33
commit 6bc3417caf
2 changed files with 3 additions and 1 deletions

View File

@@ -193,6 +193,7 @@ func GetPeersForProxy(node *models.Node, onlyPeers bool) (proxy_models.ProxyMana
return proxyPayload, nil
}
// GetPeerUpdateForHost - gets the consolidated peer update for the host from all networks
func GetPeerUpdateForHost(host *models.Host) (models.HostPeerUpdate, error) {
hostPeerUpdate := models.HostPeerUpdate{
Network: make(map[string]models.NetworkInfo),