bettercap/routing/route.go
2021-04-10 22:59:03 +02:00

18 lines
244 B
Go

package routing
type RouteType string
const (
IPv4 RouteType = "IPv4"
IPv6 RouteType = "IPv6"
)
type Route struct {
Type RouteType
Default bool
Device string
Destination string
Gateway string
Flags string
}