github.com/batchcorp/thrift-iterator@v0.0.0-20220918180557-4c4a158fc6e9/raw/raw_object.go (about) 1 package raw 2 3 import "github.com/batchcorp/thrift-iterator/protocol" 4 5 type StructField struct { 6 Buffer []byte 7 Type protocol.TType 8 } 9 10 type Struct map[protocol.FieldId]StructField 11 12 type List struct { 13 ElementType protocol.TType 14 Elements [][]byte 15 } 16 17 type MapEntry struct { 18 Key []byte 19 Element []byte 20 } 21 22 type Map struct { 23 KeyType protocol.TType 24 ElementType protocol.TType 25 Entries map[interface{}]MapEntry 26 }