0
0
Fork 0
mirror of https://github.com/slackhq/nebula.git synced 2025-01-11 03:48:12 +00:00
slackhq_nebula/overlay/device.go

15 lines
232 B
Go

package overlay
import (
"io"
"net/netip"
)
type Device interface {
io.ReadWriteCloser
Activate() error
Cidr() netip.Prefix
Name() string
RouteFor(netip.Addr) netip.Addr
NewMultiQueueReader() (io.ReadWriteCloser, error)
}