test
This commit is contained in:
parent
1b25deb818
commit
fa3bee5993
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: []byte("plop"),
|
Password: "plop",
|
||||||
AppName: []byte("gottdad"),
|
AppName: "gottdad",
|
||||||
AppVersion: []byte("alpha"),
|
AppVersion: "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