Documentation ¶
Index ¶
- func CountryAddAlpha(builder *flatbuffers.Builder, alpha flatbuffers.UOffsetT)
- func CountryAddCode(builder *flatbuffers.Builder, code flatbuffers.UOffsetT)
- func CountryAddFlag(builder *flatbuffers.Builder, flag flatbuffers.UOffsetT)
- func CountryAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func CountryEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func CountryStart(builder *flatbuffers.Builder)
- func CountryStartAlphaVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func CountryStartCodeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func CountryStartFlagVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func CountryStartNameVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func FinishCountryBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishGeoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishLocationBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishRegionBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedCountryBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedGeoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedLocationBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedRegionBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func GeoAddNames(builder *flatbuffers.Builder, names flatbuffers.UOffsetT)
- func GeoEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func GeoStart(builder *flatbuffers.Builder)
- func GeoStartNamesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func LocationAddCity(builder *flatbuffers.Builder, city flatbuffers.UOffsetT)
- func LocationAddCityCode(builder *flatbuffers.Builder, cityCode flatbuffers.UOffsetT)
- func LocationAddCountry(builder *flatbuffers.Builder, country flatbuffers.UOffsetT)
- func LocationAddGeo(builder *flatbuffers.Builder, geo flatbuffers.UOffsetT)
- func LocationAddRegion(builder *flatbuffers.Builder, region flatbuffers.UOffsetT)
- func LocationAddTranslate(builder *flatbuffers.Builder, translate flatbuffers.UOffsetT)
- func LocationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func LocationStart(builder *flatbuffers.Builder)
- func LocationStartCityCodeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func LocationStartCityVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func LocationStartTranslateVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func RegionAddCode(builder *flatbuffers.Builder, code flatbuffers.UOffsetT)
- func RegionAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func RegionEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func RegionStart(builder *flatbuffers.Builder)
- func RegionStartCodeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func RegionStartNameVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- type Country
- func (rcv *Country) Alpha(j int) []byte
- func (rcv *Country) AlphaLength() int
- func (rcv *Country) Code(j int) []byte
- func (rcv *Country) CodeLength() int
- func (rcv *Country) Flag(j int) []byte
- func (rcv *Country) FlagLength() int
- func (rcv *Country) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Country) Name(j int) []byte
- func (rcv *Country) NameLength() int
- func (rcv *Country) Table() flatbuffers.Table
- type Geo
- type Location
- func (rcv *Location) City(j int) byte
- func (rcv *Location) CityBytes() []byte
- func (rcv *Location) CityCode(j int) byte
- func (rcv *Location) CityCodeBytes() []byte
- func (rcv *Location) CityCodeLength() int
- func (rcv *Location) CityLength() int
- func (rcv *Location) Country(obj *Country) *Country
- func (rcv *Location) Geo(obj *Geo) *Geo
- func (rcv *Location) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Location) MutateCity(j int, n byte) bool
- func (rcv *Location) MutateCityCode(j int, n byte) bool
- func (rcv *Location) MutateTranslate(j int, n byte) bool
- func (rcv *Location) Region(obj *Region) *Region
- func (rcv *Location) Table() flatbuffers.Table
- func (rcv *Location) Translate(j int) byte
- func (rcv *Location) TranslateBytes() []byte
- func (rcv *Location) TranslateLength() int
- type Region
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountryAddAlpha ¶ added in v1.4.1
func CountryAddAlpha(builder *flatbuffers.Builder, alpha flatbuffers.UOffsetT)
func CountryAddCode ¶
func CountryAddCode(builder *flatbuffers.Builder, code flatbuffers.UOffsetT)
func CountryAddFlag ¶
func CountryAddFlag(builder *flatbuffers.Builder, flag flatbuffers.UOffsetT)
func CountryAddName ¶
func CountryAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func CountryEnd ¶
func CountryEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func CountryStart ¶
func CountryStart(builder *flatbuffers.Builder)
func CountryStartAlphaVector ¶ added in v1.4.1
func CountryStartAlphaVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func CountryStartCodeVector ¶
func CountryStartCodeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func CountryStartFlagVector ¶
func CountryStartFlagVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func CountryStartNameVector ¶
func CountryStartNameVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func FinishCountryBuffer ¶
func FinishCountryBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishGeoBuffer ¶
func FinishGeoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishLocationBuffer ¶
func FinishLocationBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishRegionBuffer ¶
func FinishRegionBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedCountryBuffer ¶
func FinishSizePrefixedCountryBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedGeoBuffer ¶
func FinishSizePrefixedGeoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedLocationBuffer ¶
func FinishSizePrefixedLocationBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedRegionBuffer ¶
func FinishSizePrefixedRegionBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func GeoAddNames ¶
func GeoAddNames(builder *flatbuffers.Builder, names flatbuffers.UOffsetT)
func GeoEnd ¶
func GeoEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func GeoStart ¶
func GeoStart(builder *flatbuffers.Builder)
func GeoStartNamesVector ¶
func GeoStartNamesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func LocationAddCity ¶
func LocationAddCity(builder *flatbuffers.Builder, city flatbuffers.UOffsetT)
func LocationAddCityCode ¶
func LocationAddCityCode(builder *flatbuffers.Builder, cityCode flatbuffers.UOffsetT)
func LocationAddCountry ¶
func LocationAddCountry(builder *flatbuffers.Builder, country flatbuffers.UOffsetT)
func LocationAddGeo ¶
func LocationAddGeo(builder *flatbuffers.Builder, geo flatbuffers.UOffsetT)
func LocationAddRegion ¶
func LocationAddRegion(builder *flatbuffers.Builder, region flatbuffers.UOffsetT)
func LocationAddTranslate ¶
func LocationAddTranslate(builder *flatbuffers.Builder, translate flatbuffers.UOffsetT)
func LocationEnd ¶
func LocationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func LocationStart ¶
func LocationStart(builder *flatbuffers.Builder)
func LocationStartCityCodeVector ¶
func LocationStartCityCodeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func LocationStartCityVector ¶
func LocationStartCityVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func LocationStartTranslateVector ¶
func LocationStartTranslateVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func RegionAddCode ¶
func RegionAddCode(builder *flatbuffers.Builder, code flatbuffers.UOffsetT)
func RegionAddName ¶
func RegionAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func RegionEnd ¶
func RegionEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func RegionStart ¶
func RegionStart(builder *flatbuffers.Builder)
func RegionStartCodeVector ¶
func RegionStartCodeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func RegionStartNameVector ¶
func RegionStartNameVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
Types ¶
type Country ¶
type Country struct {
// contains filtered or unexported fields
}
func GetRootAsCountry ¶
func GetRootAsCountry(buf []byte, offset flatbuffers.UOffsetT) *Country
func GetSizePrefixedRootAsCountry ¶
func GetSizePrefixedRootAsCountry(buf []byte, offset flatbuffers.UOffsetT) *Country
func (*Country) AlphaLength ¶ added in v1.4.1
func (*Country) CodeLength ¶
func (*Country) FlagLength ¶
func (*Country) NameLength ¶
func (*Country) Table ¶
func (rcv *Country) Table() flatbuffers.Table
type Geo ¶
type Geo struct {
// contains filtered or unexported fields
}
func GetRootAsGeo ¶
func GetRootAsGeo(buf []byte, offset flatbuffers.UOffsetT) *Geo
func GetSizePrefixedRootAsGeo ¶
func GetSizePrefixedRootAsGeo(buf []byte, offset flatbuffers.UOffsetT) *Geo
func (*Geo) NamesLength ¶
func (*Geo) Table ¶
func (rcv *Geo) Table() flatbuffers.Table
type Location ¶
type Location struct {
// contains filtered or unexported fields
}
func GetRootAsLocation ¶
func GetRootAsLocation(buf []byte, offset flatbuffers.UOffsetT) *Location
func GetSizePrefixedRootAsLocation ¶
func GetSizePrefixedRootAsLocation(buf []byte, offset flatbuffers.UOffsetT) *Location
func (*Location) CityCodeBytes ¶
func (*Location) CityCodeLength ¶
func (*Location) CityLength ¶
func (*Location) Table ¶
func (rcv *Location) Table() flatbuffers.Table
func (*Location) TranslateBytes ¶
func (*Location) TranslateLength ¶
type Region ¶
type Region struct {
// contains filtered or unexported fields
}
func GetRootAsRegion ¶
func GetRootAsRegion(buf []byte, offset flatbuffers.UOffsetT) *Region
func GetSizePrefixedRootAsRegion ¶
func GetSizePrefixedRootAsRegion(buf []byte, offset flatbuffers.UOffsetT) *Region
func (*Region) CodeLength ¶
func (*Region) NameLength ¶
func (*Region) Table ¶
func (rcv *Region) Table() flatbuffers.Table
Click to show internal directories.
Click to hide internal directories.