test
This commit is contained in:
parent
6f242fe712
commit
cb4f105cf7
6
main.go
6
main.go
@ -13,9 +13,9 @@ func main() {
|
|||||||
//send auth
|
//send auth
|
||||||
p := PacketAdminJoin{
|
p := PacketAdminJoin{
|
||||||
Packet: Packet{PType: AdminPacketAdminJoin},
|
Packet: Packet{PType: AdminPacketAdminJoin},
|
||||||
Password: "plop",
|
Password: []byte("plop"),
|
||||||
AppName: "gottdad",
|
AppName: []byte("gottdad"),
|
||||||
AppVersion: "alpha",
|
AppVersion: []byte("alpha"),
|
||||||
}
|
}
|
||||||
_, err = conn.Write(p.Bytes())
|
_, err = conn.Write(p.Bytes())
|
||||||
failError(err, "conn.Write")
|
failError(err, "conn.Write")
|
||||||
|
Loading…
Reference in New Issue
Block a user