mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 01:06:45 +00:00
move relay config and management config path to types
this helps avoid circular import cycle through all the code
This commit is contained in:
13
management/server/types/config.go
Normal file
13
management/server/types/config.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package types
|
||||
|
||||
import "github.com/netbirdio/netbird/util"
|
||||
|
||||
// MgmtConfigPath Config path of the Management service
|
||||
var MgmtConfigPath string
|
||||
|
||||
// Relay configuration type
|
||||
type Relay struct {
|
||||
Addresses []string
|
||||
CredentialsTTL util.Duration
|
||||
Secret string
|
||||
}
|
||||
Reference in New Issue
Block a user