This commit is contained in:
Adam Ierymenko 2019-09-20 21:00:54 -07:00
commit fbf74d3baa
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
5 changed files with 52 additions and 11 deletions

View file

@ -17,6 +17,8 @@ import "net"
// Tap represents an Ethernet tap connecting a virtual network to a device or something else "real"
type Tap interface {
Type() string
Error() (int, string)
SetEnabled(enabled bool)
Enabled() bool
AddIP(ip net.IPNet) error