func comments,rm old proxy code

This commit is contained in:
Abhishek Kondur
2023-01-10 19:52:54 +05:30
parent 41cefad97c
commit 599656618d
3 changed files with 2 additions and 34 deletions

View File

@@ -207,6 +207,7 @@ func DeleteRelay(network, nodeid string) ([]models.Node, models.Node, error) {
return returnnodes, node, nil
}
// DeleteHostRelay - removes host as relay
func DeleteHostRelay(relayHostID string) (relayHost *models.Host, relayedHosts []models.Host, err error) {
relayHost, err = GetHost(relayHostID)
if err != nil {