forked from External/grumble
Get rid of Client's sender goroutine.
This commit is contained in:
parent
fa3770bffb
commit
875cc89b9e
4 changed files with 62 additions and 111 deletions
|
|
@ -45,6 +45,7 @@ func MessageType(msg interface{}) uint16 {
|
|||
case *Version:
|
||||
return MessageVersion
|
||||
case *UDPTunnel:
|
||||
case []byte:
|
||||
return MessageUDPTunnel
|
||||
case *Authenticate:
|
||||
return MessageAuthenticate
|
||||
|
|
@ -94,4 +95,4 @@ func MessageType(msg interface{}) uint16 {
|
|||
return MessageServerConfig
|
||||
}
|
||||
panic("unknown type")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue