Documentation ¶
Index ¶
- Variables
- func EnumAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
- func EnumAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func EnumAddIsUnion(builder *flatbuffers.Builder, isUnion bool)
- func EnumAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func EnumAddUnderlyingType(builder *flatbuffers.Builder, underlyingType flatbuffers.UOffsetT)
- func EnumAddValues(builder *flatbuffers.Builder, values flatbuffers.UOffsetT)
- func EnumEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func EnumStart(builder *flatbuffers.Builder)
- func EnumStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func EnumStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func EnumStartValuesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func EnumValAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func EnumValAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func EnumValAddObject(builder *flatbuffers.Builder, object flatbuffers.UOffsetT)
- func EnumValAddUnionType(builder *flatbuffers.Builder, unionType flatbuffers.UOffsetT)
- func EnumValAddValue(builder *flatbuffers.Builder, value int64)
- func EnumValEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func EnumValStart(builder *flatbuffers.Builder)
- func EnumValStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func FieldAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
- func FieldAddDefaultInteger(builder *flatbuffers.Builder, defaultInteger int64)
- func FieldAddDefaultReal(builder *flatbuffers.Builder, defaultReal float64)
- func FieldAddDeprecated(builder *flatbuffers.Builder, deprecated bool)
- func FieldAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func FieldAddId(builder *flatbuffers.Builder, id uint16)
- func FieldAddKey(builder *flatbuffers.Builder, key bool)
- func FieldAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func FieldAddOffset(builder *flatbuffers.Builder, offset uint16)
- func FieldAddRequired(builder *flatbuffers.Builder, required bool)
- func FieldAddType(builder *flatbuffers.Builder, type_ flatbuffers.UOffsetT)
- func FieldEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func FieldStart(builder *flatbuffers.Builder)
- func FieldStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func FieldStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func KeyValueAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)
- func KeyValueAddValue(builder *flatbuffers.Builder, value flatbuffers.UOffsetT)
- func KeyValueEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func KeyValueStart(builder *flatbuffers.Builder)
- func ObjectAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
- func ObjectAddBytesize(builder *flatbuffers.Builder, bytesize int32)
- func ObjectAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func ObjectAddFields(builder *flatbuffers.Builder, fields flatbuffers.UOffsetT)
- func ObjectAddIsStruct(builder *flatbuffers.Builder, isStruct bool)
- func ObjectAddMinalign(builder *flatbuffers.Builder, minalign int32)
- func ObjectAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func ObjectEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ObjectStart(builder *flatbuffers.Builder)
- func ObjectStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ObjectStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ObjectStartFieldsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func RPCCallAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
- func RPCCallAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func RPCCallAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func RPCCallAddRequest(builder *flatbuffers.Builder, request flatbuffers.UOffsetT)
- func RPCCallAddResponse(builder *flatbuffers.Builder, response flatbuffers.UOffsetT)
- func RPCCallEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func RPCCallStart(builder *flatbuffers.Builder)
- func RPCCallStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func RPCCallStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SchemaAddEnums(builder *flatbuffers.Builder, enums flatbuffers.UOffsetT)
- func SchemaAddFileExt(builder *flatbuffers.Builder, fileExt flatbuffers.UOffsetT)
- func SchemaAddFileIdent(builder *flatbuffers.Builder, fileIdent flatbuffers.UOffsetT)
- func SchemaAddObjects(builder *flatbuffers.Builder, objects flatbuffers.UOffsetT)
- func SchemaAddRootTable(builder *flatbuffers.Builder, rootTable flatbuffers.UOffsetT)
- func SchemaAddServices(builder *flatbuffers.Builder, services flatbuffers.UOffsetT)
- func SchemaEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func SchemaStart(builder *flatbuffers.Builder)
- func SchemaStartEnumsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SchemaStartObjectsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SchemaStartServicesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ServiceAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
- func ServiceAddCalls(builder *flatbuffers.Builder, calls flatbuffers.UOffsetT)
- func ServiceAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func ServiceAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func ServiceEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ServiceStart(builder *flatbuffers.Builder)
- func ServiceStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ServiceStartCallsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ServiceStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func TypeAddBaseType(builder *flatbuffers.Builder, baseType BaseType)
- func TypeAddElement(builder *flatbuffers.Builder, element BaseType)
- func TypeAddFixedLength(builder *flatbuffers.Builder, fixedLength uint16)
- func TypeAddIndex(builder *flatbuffers.Builder, index int32)
- func TypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func TypeStart(builder *flatbuffers.Builder)
- type BaseType
- type Enum
- func (rcv *Enum) Attributes(obj *KeyValue, j int) bool
- func (rcv *Enum) AttributesLength() int
- func (rcv *Enum) Documentation(j int) []byte
- func (rcv *Enum) DocumentationLength() int
- func (rcv *Enum) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Enum) IsUnion() bool
- func (rcv *Enum) MutateIsUnion(n bool) bool
- func (rcv *Enum) Name() []byte
- func (rcv *Enum) Table() flatbuffers.Table
- func (rcv *Enum) UnderlyingType(obj *Type) *Type
- func (rcv *Enum) Values(obj *EnumVal, j int) bool
- func (rcv *Enum) ValuesLength() int
- type EnumVal
- func (rcv *EnumVal) Documentation(j int) []byte
- func (rcv *EnumVal) DocumentationLength() int
- func (rcv *EnumVal) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *EnumVal) MutateValue(n int64) bool
- func (rcv *EnumVal) Name() []byte
- func (rcv *EnumVal) Object(obj *Object) *Object
- func (rcv *EnumVal) Table() flatbuffers.Table
- func (rcv *EnumVal) UnionType(obj *Type) *Type
- func (rcv *EnumVal) Value() int64
- type Field
- func (rcv *Field) Attributes(obj *KeyValue, j int) bool
- func (rcv *Field) AttributesLength() int
- func (rcv *Field) DefaultInteger() int64
- func (rcv *Field) DefaultReal() float64
- func (rcv *Field) Deprecated() bool
- func (rcv *Field) Documentation(j int) []byte
- func (rcv *Field) DocumentationLength() int
- func (rcv *Field) Id() uint16
- func (rcv *Field) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Field) Key() bool
- func (rcv *Field) MutateDefaultInteger(n int64) bool
- func (rcv *Field) MutateDefaultReal(n float64) bool
- func (rcv *Field) MutateDeprecated(n bool) bool
- func (rcv *Field) MutateId(n uint16) bool
- func (rcv *Field) MutateKey(n bool) bool
- func (rcv *Field) MutateOffset(n uint16) bool
- func (rcv *Field) MutateRequired(n bool) bool
- func (rcv *Field) Name() []byte
- func (rcv *Field) Offset() uint16
- func (rcv *Field) Required() bool
- func (rcv *Field) Table() flatbuffers.Table
- func (rcv *Field) Type(obj *Type) *Type
- type KeyValue
- type Object
- func (rcv *Object) Attributes(obj *KeyValue, j int) bool
- func (rcv *Object) AttributesLength() int
- func (rcv *Object) Bytesize() int32
- func (rcv *Object) Documentation(j int) []byte
- func (rcv *Object) DocumentationLength() int
- func (rcv *Object) Fields(obj *Field, j int) bool
- func (rcv *Object) FieldsLength() int
- func (rcv *Object) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Object) IsStruct() bool
- func (rcv *Object) Minalign() int32
- func (rcv *Object) MutateBytesize(n int32) bool
- func (rcv *Object) MutateIsStruct(n bool) bool
- func (rcv *Object) MutateMinalign(n int32) bool
- func (rcv *Object) Name() []byte
- func (rcv *Object) Table() flatbuffers.Table
- type RPCCall
- func (rcv *RPCCall) Attributes(obj *KeyValue, j int) bool
- func (rcv *RPCCall) AttributesLength() int
- func (rcv *RPCCall) Documentation(j int) []byte
- func (rcv *RPCCall) DocumentationLength() int
- func (rcv *RPCCall) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *RPCCall) Name() []byte
- func (rcv *RPCCall) Request(obj *Object) *Object
- func (rcv *RPCCall) Response(obj *Object) *Object
- func (rcv *RPCCall) Table() flatbuffers.Table
- type Schema
- func (rcv *Schema) Enums(obj *Enum, j int) bool
- func (rcv *Schema) EnumsLength() int
- func (rcv *Schema) FileExt() []byte
- func (rcv *Schema) FileIdent() []byte
- func (rcv *Schema) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Schema) Objects(obj *Object, j int) bool
- func (rcv *Schema) ObjectsLength() int
- func (rcv *Schema) RootTable(obj *Object) *Object
- func (rcv *Schema) Services(obj *Service, j int) bool
- func (rcv *Schema) ServicesLength() int
- func (rcv *Schema) Table() flatbuffers.Table
- type Service
- func (rcv *Service) Attributes(obj *KeyValue, j int) bool
- func (rcv *Service) AttributesLength() int
- func (rcv *Service) Calls(obj *RPCCall, j int) bool
- func (rcv *Service) CallsLength() int
- func (rcv *Service) Documentation(j int) []byte
- func (rcv *Service) DocumentationLength() int
- func (rcv *Service) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Service) Name() []byte
- func (rcv *Service) Table() flatbuffers.Table
- type Type
- func (rcv *Type) BaseType() BaseType
- func (rcv *Type) Element() BaseType
- func (rcv *Type) FixedLength() uint16
- func (rcv *Type) Index() int32
- func (rcv *Type) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Type) MutateBaseType(n BaseType) bool
- func (rcv *Type) MutateElement(n BaseType) bool
- func (rcv *Type) MutateFixedLength(n uint16) bool
- func (rcv *Type) MutateIndex(n int32) bool
- func (rcv *Type) Table() flatbuffers.Table
Constants ¶
This section is empty.
Variables ¶
View Source
var EnumNamesBaseType = map[BaseType]string{ BaseTypeNone: "None", BaseTypeUType: "UType", BaseTypeBool: "Bool", BaseTypeByte: "Byte", BaseTypeUByte: "UByte", BaseTypeShort: "Short", BaseTypeUShort: "UShort", BaseTypeInt: "Int", BaseTypeUInt: "UInt", BaseTypeLong: "Long", BaseTypeULong: "ULong", BaseTypeFloat: "Float", BaseTypeDouble: "Double", BaseTypeString: "String", BaseTypeVector: "Vector", BaseTypeObj: "Obj", BaseTypeUnion: "Union", BaseTypeArray: "Array", }
View Source
var EnumValuesBaseType = map[string]BaseType{ "None": BaseTypeNone, "UType": BaseTypeUType, "Bool": BaseTypeBool, "Byte": BaseTypeByte, "UByte": BaseTypeUByte, "Short": BaseTypeShort, "UShort": BaseTypeUShort, "Int": BaseTypeInt, "UInt": BaseTypeUInt, "Long": BaseTypeLong, "ULong": BaseTypeULong, "Float": BaseTypeFloat, "Double": BaseTypeDouble, "String": BaseTypeString, "Vector": BaseTypeVector, "Obj": BaseTypeObj, "Union": BaseTypeUnion, "Array": BaseTypeArray, }
Functions ¶
func EnumAddAttributes ¶
func EnumAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
func EnumAddDocumentation ¶
func EnumAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func EnumAddIsUnion ¶
func EnumAddIsUnion(builder *flatbuffers.Builder, isUnion bool)
func EnumAddName ¶
func EnumAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func EnumAddUnderlyingType ¶
func EnumAddUnderlyingType(builder *flatbuffers.Builder, underlyingType flatbuffers.UOffsetT)
func EnumAddValues ¶
func EnumAddValues(builder *flatbuffers.Builder, values flatbuffers.UOffsetT)
func EnumEnd ¶
func EnumEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func EnumStart ¶
func EnumStart(builder *flatbuffers.Builder)
func EnumStartAttributesVector ¶
func EnumStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func EnumStartDocumentationVector ¶
func EnumStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func EnumStartValuesVector ¶
func EnumStartValuesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func EnumValAddDocumentation ¶
func EnumValAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func EnumValAddName ¶
func EnumValAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func EnumValAddObject ¶
func EnumValAddObject(builder *flatbuffers.Builder, object flatbuffers.UOffsetT)
func EnumValAddUnionType ¶
func EnumValAddUnionType(builder *flatbuffers.Builder, unionType flatbuffers.UOffsetT)
func EnumValAddValue ¶
func EnumValAddValue(builder *flatbuffers.Builder, value int64)
func EnumValEnd ¶
func EnumValEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func EnumValStart ¶
func EnumValStart(builder *flatbuffers.Builder)
func EnumValStartDocumentationVector ¶
func EnumValStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func FieldAddAttributes ¶
func FieldAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
func FieldAddDefaultInteger ¶
func FieldAddDefaultInteger(builder *flatbuffers.Builder, defaultInteger int64)
func FieldAddDefaultReal ¶
func FieldAddDefaultReal(builder *flatbuffers.Builder, defaultReal float64)
func FieldAddDeprecated ¶
func FieldAddDeprecated(builder *flatbuffers.Builder, deprecated bool)
func FieldAddDocumentation ¶
func FieldAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func FieldAddId ¶
func FieldAddId(builder *flatbuffers.Builder, id uint16)
func FieldAddKey ¶
func FieldAddKey(builder *flatbuffers.Builder, key bool)
func FieldAddName ¶
func FieldAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func FieldAddOffset ¶
func FieldAddOffset(builder *flatbuffers.Builder, offset uint16)
func FieldAddRequired ¶
func FieldAddRequired(builder *flatbuffers.Builder, required bool)
func FieldAddType ¶
func FieldAddType(builder *flatbuffers.Builder, type_ flatbuffers.UOffsetT)
func FieldEnd ¶
func FieldEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func FieldStart ¶
func FieldStart(builder *flatbuffers.Builder)
func FieldStartAttributesVector ¶
func FieldStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func FieldStartDocumentationVector ¶
func FieldStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func KeyValueAddKey ¶
func KeyValueAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)
func KeyValueAddValue ¶
func KeyValueAddValue(builder *flatbuffers.Builder, value flatbuffers.UOffsetT)
func KeyValueEnd ¶
func KeyValueEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func KeyValueStart ¶
func KeyValueStart(builder *flatbuffers.Builder)
func ObjectAddAttributes ¶
func ObjectAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
func ObjectAddBytesize ¶
func ObjectAddBytesize(builder *flatbuffers.Builder, bytesize int32)
func ObjectAddDocumentation ¶
func ObjectAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func ObjectAddFields ¶
func ObjectAddFields(builder *flatbuffers.Builder, fields flatbuffers.UOffsetT)
func ObjectAddIsStruct ¶
func ObjectAddIsStruct(builder *flatbuffers.Builder, isStruct bool)
func ObjectAddMinalign ¶
func ObjectAddMinalign(builder *flatbuffers.Builder, minalign int32)
func ObjectAddName ¶
func ObjectAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func ObjectEnd ¶
func ObjectEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ObjectStart ¶
func ObjectStart(builder *flatbuffers.Builder)
func ObjectStartAttributesVector ¶
func ObjectStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ObjectStartDocumentationVector ¶
func ObjectStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ObjectStartFieldsVector ¶
func ObjectStartFieldsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func RPCCallAddAttributes ¶
func RPCCallAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
func RPCCallAddDocumentation ¶
func RPCCallAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func RPCCallAddName ¶
func RPCCallAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func RPCCallAddRequest ¶
func RPCCallAddRequest(builder *flatbuffers.Builder, request flatbuffers.UOffsetT)
func RPCCallAddResponse ¶
func RPCCallAddResponse(builder *flatbuffers.Builder, response flatbuffers.UOffsetT)
func RPCCallEnd ¶
func RPCCallEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func RPCCallStart ¶
func RPCCallStart(builder *flatbuffers.Builder)
func RPCCallStartAttributesVector ¶
func RPCCallStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func RPCCallStartDocumentationVector ¶
func RPCCallStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SchemaAddEnums ¶
func SchemaAddEnums(builder *flatbuffers.Builder, enums flatbuffers.UOffsetT)
func SchemaAddFileExt ¶
func SchemaAddFileExt(builder *flatbuffers.Builder, fileExt flatbuffers.UOffsetT)
func SchemaAddFileIdent ¶
func SchemaAddFileIdent(builder *flatbuffers.Builder, fileIdent flatbuffers.UOffsetT)
func SchemaAddObjects ¶
func SchemaAddObjects(builder *flatbuffers.Builder, objects flatbuffers.UOffsetT)
func SchemaAddRootTable ¶
func SchemaAddRootTable(builder *flatbuffers.Builder, rootTable flatbuffers.UOffsetT)
func SchemaAddServices ¶
func SchemaAddServices(builder *flatbuffers.Builder, services flatbuffers.UOffsetT)
func SchemaEnd ¶
func SchemaEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func SchemaStart ¶
func SchemaStart(builder *flatbuffers.Builder)
func SchemaStartEnumsVector ¶
func SchemaStartEnumsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SchemaStartObjectsVector ¶
func SchemaStartObjectsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SchemaStartServicesVector ¶
func SchemaStartServicesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ServiceAddAttributes ¶
func ServiceAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
func ServiceAddCalls ¶
func ServiceAddCalls(builder *flatbuffers.Builder, calls flatbuffers.UOffsetT)
func ServiceAddDocumentation ¶
func ServiceAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func ServiceAddName ¶
func ServiceAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func ServiceEnd ¶
func ServiceEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ServiceStart ¶
func ServiceStart(builder *flatbuffers.Builder)
func ServiceStartAttributesVector ¶
func ServiceStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ServiceStartCallsVector ¶
func ServiceStartCallsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ServiceStartDocumentationVector ¶
func ServiceStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func TypeAddBaseType ¶
func TypeAddBaseType(builder *flatbuffers.Builder, baseType BaseType)
func TypeAddElement ¶
func TypeAddElement(builder *flatbuffers.Builder, element BaseType)
func TypeAddFixedLength ¶
func TypeAddFixedLength(builder *flatbuffers.Builder, fixedLength uint16)
func TypeAddIndex ¶
func TypeAddIndex(builder *flatbuffers.Builder, index int32)
func TypeEnd ¶
func TypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func TypeStart ¶
func TypeStart(builder *flatbuffers.Builder)
Types ¶
type BaseType ¶
type BaseType int8
const ( BaseTypeNone BaseType = 0 BaseTypeUType BaseType = 1 BaseTypeBool BaseType = 2 BaseTypeByte BaseType = 3 BaseTypeUByte BaseType = 4 BaseTypeShort BaseType = 5 BaseTypeUShort BaseType = 6 BaseTypeInt BaseType = 7 BaseTypeUInt BaseType = 8 BaseTypeLong BaseType = 9 BaseTypeULong BaseType = 10 BaseTypeFloat BaseType = 11 BaseTypeDouble BaseType = 12 BaseTypeString BaseType = 13 BaseTypeVector BaseType = 14 BaseTypeObj BaseType = 15 BaseTypeUnion BaseType = 16 BaseTypeArray BaseType = 17 )
type Enum ¶
type Enum struct {
// contains filtered or unexported fields
}
func GetRootAsEnum ¶
func GetRootAsEnum(buf []byte, offset flatbuffers.UOffsetT) *Enum
func (*Enum) AttributesLength ¶
func (*Enum) Documentation ¶
func (*Enum) DocumentationLength ¶
func (*Enum) MutateIsUnion ¶
func (*Enum) Table ¶
func (rcv *Enum) Table() flatbuffers.Table
func (*Enum) UnderlyingType ¶
func (*Enum) ValuesLength ¶
type EnumVal ¶
type EnumVal struct {
// contains filtered or unexported fields
}
func GetRootAsEnumVal ¶
func GetRootAsEnumVal(buf []byte, offset flatbuffers.UOffsetT) *EnumVal
func (*EnumVal) Documentation ¶
func (*EnumVal) DocumentationLength ¶
func (*EnumVal) MutateValue ¶
func (*EnumVal) Table ¶
func (rcv *EnumVal) Table() flatbuffers.Table
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
func GetRootAsField ¶
func GetRootAsField(buf []byte, offset flatbuffers.UOffsetT) *Field
func (*Field) AttributesLength ¶
func (*Field) DefaultInteger ¶
func (*Field) DefaultReal ¶
func (*Field) Deprecated ¶
func (*Field) Documentation ¶
func (*Field) DocumentationLength ¶
func (*Field) MutateDefaultInteger ¶
func (*Field) MutateDefaultReal ¶
func (*Field) MutateDeprecated ¶
func (*Field) MutateOffset ¶
func (*Field) MutateRequired ¶
func (*Field) Table ¶
func (rcv *Field) Table() flatbuffers.Table
type KeyValue ¶
type KeyValue struct {
// contains filtered or unexported fields
}
func GetRootAsKeyValue ¶
func GetRootAsKeyValue(buf []byte, offset flatbuffers.UOffsetT) *KeyValue
func (*KeyValue) Table ¶
func (rcv *KeyValue) Table() flatbuffers.Table
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
func GetRootAsObject ¶
func GetRootAsObject(buf []byte, offset flatbuffers.UOffsetT) *Object
func (*Object) AttributesLength ¶
func (*Object) Documentation ¶
func (*Object) DocumentationLength ¶
func (*Object) FieldsLength ¶
func (*Object) MutateBytesize ¶
func (*Object) MutateIsStruct ¶
func (*Object) MutateMinalign ¶
func (*Object) Table ¶
func (rcv *Object) Table() flatbuffers.Table
type RPCCall ¶
type RPCCall struct {
// contains filtered or unexported fields
}
func GetRootAsRPCCall ¶
func GetRootAsRPCCall(buf []byte, offset flatbuffers.UOffsetT) *RPCCall
func (*RPCCall) AttributesLength ¶
func (*RPCCall) Documentation ¶
func (*RPCCall) DocumentationLength ¶
func (*RPCCall) Table ¶
func (rcv *RPCCall) Table() flatbuffers.Table
type Schema ¶
type Schema struct {
// contains filtered or unexported fields
}
func GetRootAsSchema ¶
func GetRootAsSchema(buf []byte, offset flatbuffers.UOffsetT) *Schema
func (*Schema) EnumsLength ¶
func (*Schema) ObjectsLength ¶
func (*Schema) ServicesLength ¶
func (*Schema) Table ¶
func (rcv *Schema) Table() flatbuffers.Table
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func GetRootAsService ¶
func GetRootAsService(buf []byte, offset flatbuffers.UOffsetT) *Service
func (*Service) AttributesLength ¶
func (*Service) CallsLength ¶
func (*Service) Documentation ¶
func (*Service) DocumentationLength ¶
func (*Service) Table ¶
func (rcv *Service) Table() flatbuffers.Table
type Type ¶
type Type struct {
// contains filtered or unexported fields
}
func GetRootAsType ¶
func GetRootAsType(buf []byte, offset flatbuffers.UOffsetT) *Type
func (*Type) FixedLength ¶
func (*Type) MutateBaseType ¶
func (*Type) MutateElement ¶
func (*Type) MutateFixedLength ¶
func (*Type) MutateIndex ¶
func (*Type) Table ¶
func (rcv *Type) Table() flatbuffers.Table
Click to show internal directories.
Click to hide internal directories.