package classic type ExtInfo struct { AppName String ExtensionCount int16 } func (e *ExtInfo) PacketId() byte { return 0x10 } type ExtEntry struct { ExtName String Version int32 } func (e *ExtEntry) PacketId() byte { return 0x11 }