aboutsummaryrefslogtreecommitdiffstats
path: root/packet/command/a2aping/a2aping.go
diff options
context:
space:
mode:
Diffstat (limited to 'packet/command/a2aping/a2aping.go')
-rw-r--r--packet/command/a2aping/a2aping.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/packet/command/a2aping/a2aping.go b/packet/command/a2aping/a2aping.go
new file mode 100644
index 0000000..37929a3
--- /dev/null
+++ b/packet/command/a2aping/a2aping.go
@@ -0,0 +1,17 @@
+package a2aping
+
+import (
+ "github.com/osm/quake/common/buffer"
+ "github.com/osm/quake/common/context"
+ "github.com/osm/quake/protocol"
+)
+
+type Command struct{}
+
+func (cmd *Command) Bytes() []byte {
+ return []byte{protocol.A2APing}
+}
+
+func Parse(ctx *context.Context, buf *buffer.Buffer) (*Command, error) {
+ return &Command{}, nil
+}