mirror of
https://github.com/bettercap/bettercap.git
synced 2025-03-12 04:36:03 -07:00
18 lines
244 B
Go
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
|
|
}
|