5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 18:50:27 +00:00

Remove unused types in link.go

This commit is contained in:
Neil Alexander 2019-03-04 19:00:06 +00:00
parent eeede4e6d0
commit 0be0b078cb
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -22,7 +22,6 @@ type link struct {
reconfigure chan chan error
mutex sync.RWMutex // protects interfaces below
interfaces map[linkInfo]*linkInterface
handlers map[string]linkListener
awdl awdl // AWDL interface support
tcp tcp // TCP interface support
// TODO timeout (to remove from switch), read from config.ReadTimeout
@ -36,10 +35,6 @@ type linkInfo struct {
remote string // Remote name or address
}
type linkListener interface {
init(*link) error
}
type linkInterfaceMsgIO interface {
readMsg() ([]byte, error)
writeMsg([]byte) (int, error)