geo

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

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) Alpha added in v1.4.1

func (rcv *Country) Alpha(j int) []byte

func (*Country) AlphaLength added in v1.4.1

func (rcv *Country) AlphaLength() int

func (*Country) Code

func (rcv *Country) Code(j int) []byte

func (*Country) CodeLength

func (rcv *Country) CodeLength() int

func (*Country) Flag

func (rcv *Country) Flag(j int) []byte

func (*Country) FlagLength

func (rcv *Country) FlagLength() int

func (*Country) Init

func (rcv *Country) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Country) Name

func (rcv *Country) Name(j int) []byte

func (*Country) NameLength

func (rcv *Country) NameLength() int

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) Init

func (rcv *Geo) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Geo) Names

func (rcv *Geo) Names(j int) []byte

func (*Geo) NamesLength

func (rcv *Geo) NamesLength() int

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) City

func (rcv *Location) City(j int) byte

func (*Location) CityBytes

func (rcv *Location) CityBytes() []byte

func (*Location) CityCode

func (rcv *Location) CityCode(j int) byte

func (*Location) CityCodeBytes

func (rcv *Location) CityCodeBytes() []byte

func (*Location) CityCodeLength

func (rcv *Location) CityCodeLength() int

func (*Location) CityLength

func (rcv *Location) CityLength() int

func (*Location) Country

func (rcv *Location) Country(obj *Country) *Country

func (*Location) Geo

func (rcv *Location) Geo(obj *Geo) *Geo

func (*Location) Init

func (rcv *Location) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Location) MutateCity

func (rcv *Location) MutateCity(j int, n byte) bool

func (*Location) MutateCityCode

func (rcv *Location) MutateCityCode(j int, n byte) bool

func (*Location) MutateTranslate

func (rcv *Location) MutateTranslate(j int, n byte) bool

func (*Location) Region

func (rcv *Location) Region(obj *Region) *Region

func (*Location) Table

func (rcv *Location) Table() flatbuffers.Table

func (*Location) Translate

func (rcv *Location) Translate(j int) byte

func (*Location) TranslateBytes

func (rcv *Location) TranslateBytes() []byte

func (*Location) TranslateLength

func (rcv *Location) TranslateLength() int

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) Code

func (rcv *Region) Code(j int) []byte

func (*Region) CodeLength

func (rcv *Region) CodeLength() int

func (*Region) Init

func (rcv *Region) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Region) Name

func (rcv *Region) Name(j int) []byte

func (*Region) NameLength

func (rcv *Region) NameLength() int

func (*Region) Table

func (rcv *Region) Table() flatbuffers.Table

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL