mirror of
https://github.com/luscis/openlan.git
synced 2025-10-05 16:47:11 +08:00
15 lines
322 B
Go
Executable File
15 lines
322 B
Go
Executable File
package app
|
|
|
|
import (
|
|
"github.com/luscis/openlan/pkg/libol"
|
|
"github.com/luscis/openlan/pkg/network"
|
|
)
|
|
|
|
type Master interface {
|
|
UUID() string
|
|
Protocol() string
|
|
OffClient(client libol.SocketClient)
|
|
ReadTap(device network.Taper, readAt func(f *libol.FrameMessage) error)
|
|
NewTap(tenant string) (network.Taper, error)
|
|
}
|