github.com/20yyq/packet@v0.1.4-0.20231013092308-386a004a3baa/interface.go (about) 1 // @@ 2 // @ Author : Eacher 3 // @ Date : 2023-09-15 15:48:53 4 // @ LastEditTime : 2023-09-15 15:50:09 5 // @ LastEditors : Eacher 6 // @ --------------------------------------------------------------------------------< 7 // @ Description : 8 // @ --------------------------------------------------------------------------------< 9 // @ FilePath : /20yyq/packet/interface.go 10 // @@ 11 package packet 12 13 type Attrs interface { 14 WireFormat() []byte 15 }