musique/server/proto/handshake.go

13 lines
172 B
Go
Raw Permalink Normal View History

package proto
type HandshakeResponse struct {
Nick string
Version string
}
func Handshake() (req Request) {
req.Type = "handshake"
req.Version = Version
return
}