mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
[NET-493] - Additional data fields to send to account management (#2583)
* Send relays and internet gws count to amb
* Unify usage funcs in logic pkg
* Fix ee build
* Revert "Unify usage funcs in logic pkg"
This reverts commit 28afc91f7e
.
* Add more resource metrics on getUsage handler
* Use pro module's function to get server usage on lic val
* Move GetRelays to pro package
This commit is contained in:

committed by
GitHub

parent
35673d6aba
commit
001442e75e
@@ -5,6 +5,10 @@ import (
|
||||
"net"
|
||||
)
|
||||
|
||||
var GetRelays = func() ([]models.Node, error) {
|
||||
return []models.Node{}, nil
|
||||
}
|
||||
|
||||
var RelayedAllowedIPs = func(peer, node *models.Node) []net.IPNet {
|
||||
return []net.IPNet{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user