diff options
author | anon5 <anon5clam@protonmail.com> | 2021-06-21 18:47:26 +0000 |
---|---|---|
committer | anon5 <anon5clam@protonmail.com> | 2021-06-21 18:47:26 +0000 |
commit | 425da65ed46061303604610bb539d6495b2b1f3f (patch) | |
tree | 10ae3e665132c369ce0207676321cef870679923 /cmds.go | |
parent | 9f239d341ef46b656dda759020da87bdd0606344 (diff) |
Add high-level protocol (de)serialization
Diffstat (limited to 'cmds.go')
-rw-r--r-- | cmds.go | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +//go:generate ./mkpktinfos.sh +//go:generate ./cmd.sh + +package mt + +import ( + "github.com/anon55555/mt/rudp" +) + +type Cmd interface { + DefaultPktInfo() rudp.PktInfo + cmd() +} |