mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 02:48:21 +00:00
13 lines
337 B
Go
13 lines
337 B
Go
package network
|
|
|
|
import (
|
|
"net/netip"
|
|
)
|
|
|
|
type StaticRoute struct {
|
|
Name string `json:"name,omitempty"`
|
|
Interface string `json:"interface,omitempty"`
|
|
Gateway netip.Addr `json:"gateway,omitempty"`
|
|
Destination netip.Prefix `json:"destination,omitempty"`
|
|
Metric uint `json:"metric,omitempty"`
|
|
}
|