2025-05-31 22:15:09 +02:00
|
|
|
package domain
|
|
|
|
|
|
|
|
// ControllerType defines the type of controller used to manage interfaces.
|
|
|
|
|
|
|
|
const (
|
|
|
|
ControllerTypeMikrotik = "mikrotik"
|
|
|
|
ControllerTypeLocal = "wgctrl"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Controller extras can be used to store additional information available for specific controllers only.
|
|
|
|
|
|
|
|
type MikrotikInterfaceExtras struct {
|
2025-06-01 11:40:05 +02:00
|
|
|
Id string // internal mikrotik ID
|
2025-05-31 22:15:09 +02:00
|
|
|
Comment string
|
|
|
|
Disabled bool
|
|
|
|
}
|
|
|
|
|
|
|
|
type MikrotikPeerExtras struct {
|
|
|
|
Name string
|
|
|
|
Comment string
|
|
|
|
IsResponder bool
|
|
|
|
ClientEndpoint string
|
|
|
|
ClientAddress string
|
|
|
|
Disabled bool
|
|
|
|
}
|