mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
15 lines
389 B
Go
15 lines
389 B
Go
package network
|
|
|
|
import (
|
|
"net/netip"
|
|
|
|
"nfsense.net/nfsense/internal/definitions/common"
|
|
)
|
|
|
|
type StaticRoute struct {
|
|
Name string `json:"name,omitempty"`
|
|
Interface string `json:"interface,omitempty"`
|
|
Gateway netip.Addr `json:"gateway,omitempty"`
|
|
Destination common.IPNet `json:"destination,omitempty"`
|
|
Metric uint `json:"metric,omitempty"`
|
|
}
|