Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
geoip.proto
It has these top-level messages:
GeoIpDataRequest GeoIpDataResponse GeoIpCity GeoIpContinent GeoIpCountry GeoIpLocation GeoIpPostal GeoIpRepresentedCountry GeoIpSubdivision
Index ¶
- func RegisterGeoIpServiceHandler(s server.Server, hdlr GeoIpServiceHandler, opts ...server.HandlerOption) error
- type GeoIpCity
- func (*GeoIpCity) Descriptor() ([]byte, []int)
- func (m *GeoIpCity) GetGeoNameID() uint32
- func (m *GeoIpCity) GetNames() map[string]string
- func (*GeoIpCity) ProtoMessage()
- func (m *GeoIpCity) Reset()
- func (m *GeoIpCity) String() string
- func (m *GeoIpCity) XXX_DiscardUnknown()
- func (m *GeoIpCity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GeoIpCity) XXX_Merge(src proto.Message)
- func (m *GeoIpCity) XXX_Size() int
- func (m *GeoIpCity) XXX_Unmarshal(b []byte) error
- type GeoIpContinent
- func (*GeoIpContinent) Descriptor() ([]byte, []int)
- func (m *GeoIpContinent) GetCode() string
- func (m *GeoIpContinent) GetGeoNameID() uint32
- func (m *GeoIpContinent) GetNames() map[string]string
- func (*GeoIpContinent) ProtoMessage()
- func (m *GeoIpContinent) Reset()
- func (m *GeoIpContinent) String() string
- func (m *GeoIpContinent) XXX_DiscardUnknown()
- func (m *GeoIpContinent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GeoIpContinent) XXX_Merge(src proto.Message)
- func (m *GeoIpContinent) XXX_Size() int
- func (m *GeoIpContinent) XXX_Unmarshal(b []byte) error
- type GeoIpCountry
- func (*GeoIpCountry) Descriptor() ([]byte, []int)
- func (m *GeoIpCountry) GetGeoNameID() uint32
- func (m *GeoIpCountry) GetIsInEuropeanUnion() bool
- func (m *GeoIpCountry) GetIsoCode() string
- func (m *GeoIpCountry) GetNames() map[string]string
- func (*GeoIpCountry) ProtoMessage()
- func (m *GeoIpCountry) Reset()
- func (m *GeoIpCountry) String() string
- func (m *GeoIpCountry) XXX_DiscardUnknown()
- func (m *GeoIpCountry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GeoIpCountry) XXX_Merge(src proto.Message)
- func (m *GeoIpCountry) XXX_Size() int
- func (m *GeoIpCountry) XXX_Unmarshal(b []byte) error
- type GeoIpDataRequest
- func (*GeoIpDataRequest) Descriptor() ([]byte, []int)
- func (m *GeoIpDataRequest) GetIP() string
- func (*GeoIpDataRequest) ProtoMessage()
- func (m *GeoIpDataRequest) Reset()
- func (m *GeoIpDataRequest) String() string
- func (m *GeoIpDataRequest) XXX_DiscardUnknown()
- func (m *GeoIpDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GeoIpDataRequest) XXX_Merge(src proto.Message)
- func (m *GeoIpDataRequest) XXX_Size() int
- func (m *GeoIpDataRequest) XXX_Unmarshal(b []byte) error
- type GeoIpDataResponse
- func (*GeoIpDataResponse) Descriptor() ([]byte, []int)
- func (m *GeoIpDataResponse) GetCity() *GeoIpCity
- func (m *GeoIpDataResponse) GetContinent() *GeoIpContinent
- func (m *GeoIpDataResponse) GetCountry() *GeoIpCountry
- func (m *GeoIpDataResponse) GetLocation() *GeoIpLocation
- func (m *GeoIpDataResponse) GetPostal() *GeoIpPostal
- func (m *GeoIpDataResponse) GetRepresentedCountry() *GeoIpRepresentedCountry
- func (m *GeoIpDataResponse) GetSubdivisions() []*GeoIpSubdivision
- func (*GeoIpDataResponse) ProtoMessage()
- func (m *GeoIpDataResponse) Reset()
- func (m *GeoIpDataResponse) String() string
- func (m *GeoIpDataResponse) XXX_DiscardUnknown()
- func (m *GeoIpDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GeoIpDataResponse) XXX_Merge(src proto.Message)
- func (m *GeoIpDataResponse) XXX_Size() int
- func (m *GeoIpDataResponse) XXX_Unmarshal(b []byte) error
- type GeoIpLocation
- func (*GeoIpLocation) Descriptor() ([]byte, []int)
- func (m *GeoIpLocation) GetAccuracyRadius() uint32
- func (m *GeoIpLocation) GetLatitude() float64
- func (m *GeoIpLocation) GetLongitude() float64
- func (m *GeoIpLocation) GetMetroCode() uint32
- func (m *GeoIpLocation) GetTimeZone() string
- func (*GeoIpLocation) ProtoMessage()
- func (m *GeoIpLocation) Reset()
- func (m *GeoIpLocation) String() string
- func (m *GeoIpLocation) XXX_DiscardUnknown()
- func (m *GeoIpLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GeoIpLocation) XXX_Merge(src proto.Message)
- func (m *GeoIpLocation) XXX_Size() int
- func (m *GeoIpLocation) XXX_Unmarshal(b []byte) error
- type GeoIpPostal
- func (*GeoIpPostal) Descriptor() ([]byte, []int)
- func (m *GeoIpPostal) GetCode() string
- func (*GeoIpPostal) ProtoMessage()
- func (m *GeoIpPostal) Reset()
- func (m *GeoIpPostal) String() string
- func (m *GeoIpPostal) XXX_DiscardUnknown()
- func (m *GeoIpPostal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GeoIpPostal) XXX_Merge(src proto.Message)
- func (m *GeoIpPostal) XXX_Size() int
- func (m *GeoIpPostal) XXX_Unmarshal(b []byte) error
- type GeoIpRepresentedCountry
- func (*GeoIpRepresentedCountry) Descriptor() ([]byte, []int)
- func (m *GeoIpRepresentedCountry) GetGeoNameID() uint32
- func (m *GeoIpRepresentedCountry) GetIsInEuropeanUnion() bool
- func (m *GeoIpRepresentedCountry) GetIsoCode() string
- func (m *GeoIpRepresentedCountry) GetNames() map[string]string
- func (m *GeoIpRepresentedCountry) GetType() string
- func (*GeoIpRepresentedCountry) ProtoMessage()
- func (m *GeoIpRepresentedCountry) Reset()
- func (m *GeoIpRepresentedCountry) String() string
- func (m *GeoIpRepresentedCountry) XXX_DiscardUnknown()
- func (m *GeoIpRepresentedCountry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GeoIpRepresentedCountry) XXX_Merge(src proto.Message)
- func (m *GeoIpRepresentedCountry) XXX_Size() int
- func (m *GeoIpRepresentedCountry) XXX_Unmarshal(b []byte) error
- type GeoIpService
- type GeoIpServiceHandler
- type GeoIpSubdivision
- func (*GeoIpSubdivision) Descriptor() ([]byte, []int)
- func (m *GeoIpSubdivision) GetGeoNameID() uint32
- func (m *GeoIpSubdivision) GetIsoCode() string
- func (m *GeoIpSubdivision) GetNames() map[string]string
- func (*GeoIpSubdivision) ProtoMessage()
- func (m *GeoIpSubdivision) Reset()
- func (m *GeoIpSubdivision) String() string
- func (m *GeoIpSubdivision) XXX_DiscardUnknown()
- func (m *GeoIpSubdivision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GeoIpSubdivision) XXX_Merge(src proto.Message)
- func (m *GeoIpSubdivision) XXX_Size() int
- func (m *GeoIpSubdivision) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGeoIpServiceHandler ¶
func RegisterGeoIpServiceHandler(s server.Server, hdlr GeoIpServiceHandler, opts ...server.HandlerOption) error
Types ¶
type GeoIpCity ¶
type GeoIpCity struct { GeoNameID uint32 `protobuf:"varint,1,opt,name=GeoNameID,proto3" json:"GeoNameID,omitempty"` Names map[string]string `` /* 151-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GeoIpCity) Descriptor ¶
func (*GeoIpCity) GetGeoNameID ¶
func (*GeoIpCity) ProtoMessage ¶
func (*GeoIpCity) ProtoMessage()
func (*GeoIpCity) XXX_DiscardUnknown ¶
func (m *GeoIpCity) XXX_DiscardUnknown()
func (*GeoIpCity) XXX_Marshal ¶
func (*GeoIpCity) XXX_Unmarshal ¶
type GeoIpContinent ¶
type GeoIpContinent struct { Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"` GeoNameID uint32 `protobuf:"varint,2,opt,name=GeoNameID,proto3" json:"GeoNameID,omitempty"` Names map[string]string `` /* 151-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GeoIpContinent) Descriptor ¶
func (*GeoIpContinent) Descriptor() ([]byte, []int)
func (*GeoIpContinent) GetCode ¶
func (m *GeoIpContinent) GetCode() string
func (*GeoIpContinent) GetGeoNameID ¶
func (m *GeoIpContinent) GetGeoNameID() uint32
func (*GeoIpContinent) GetNames ¶
func (m *GeoIpContinent) GetNames() map[string]string
func (*GeoIpContinent) ProtoMessage ¶
func (*GeoIpContinent) ProtoMessage()
func (*GeoIpContinent) Reset ¶
func (m *GeoIpContinent) Reset()
func (*GeoIpContinent) String ¶
func (m *GeoIpContinent) String() string
func (*GeoIpContinent) XXX_DiscardUnknown ¶
func (m *GeoIpContinent) XXX_DiscardUnknown()
func (*GeoIpContinent) XXX_Marshal ¶
func (m *GeoIpContinent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GeoIpContinent) XXX_Merge ¶
func (dst *GeoIpContinent) XXX_Merge(src proto.Message)
func (*GeoIpContinent) XXX_Size ¶
func (m *GeoIpContinent) XXX_Size() int
func (*GeoIpContinent) XXX_Unmarshal ¶
func (m *GeoIpContinent) XXX_Unmarshal(b []byte) error
type GeoIpCountry ¶
type GeoIpCountry struct { GeoNameID uint32 `protobuf:"varint,1,opt,name=GeoNameID,proto3" json:"GeoNameID,omitempty"` IsInEuropeanUnion bool `protobuf:"varint,2,opt,name=IsInEuropeanUnion,proto3" json:"IsInEuropeanUnion,omitempty"` IsoCode string `protobuf:"bytes,3,opt,name=IsoCode,proto3" json:"IsoCode,omitempty"` Names map[string]string `` /* 151-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GeoIpCountry) Descriptor ¶
func (*GeoIpCountry) Descriptor() ([]byte, []int)
func (*GeoIpCountry) GetGeoNameID ¶
func (m *GeoIpCountry) GetGeoNameID() uint32
func (*GeoIpCountry) GetIsInEuropeanUnion ¶
func (m *GeoIpCountry) GetIsInEuropeanUnion() bool
func (*GeoIpCountry) GetIsoCode ¶
func (m *GeoIpCountry) GetIsoCode() string
func (*GeoIpCountry) GetNames ¶
func (m *GeoIpCountry) GetNames() map[string]string
func (*GeoIpCountry) ProtoMessage ¶
func (*GeoIpCountry) ProtoMessage()
func (*GeoIpCountry) Reset ¶
func (m *GeoIpCountry) Reset()
func (*GeoIpCountry) String ¶
func (m *GeoIpCountry) String() string
func (*GeoIpCountry) XXX_DiscardUnknown ¶
func (m *GeoIpCountry) XXX_DiscardUnknown()
func (*GeoIpCountry) XXX_Marshal ¶
func (m *GeoIpCountry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GeoIpCountry) XXX_Merge ¶
func (dst *GeoIpCountry) XXX_Merge(src proto.Message)
func (*GeoIpCountry) XXX_Size ¶
func (m *GeoIpCountry) XXX_Size() int
func (*GeoIpCountry) XXX_Unmarshal ¶
func (m *GeoIpCountry) XXX_Unmarshal(b []byte) error
type GeoIpDataRequest ¶
type GeoIpDataRequest struct { IP string `protobuf:"bytes,1,opt,name=IP,proto3" json:"IP,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GeoIpDataRequest) Descriptor ¶
func (*GeoIpDataRequest) Descriptor() ([]byte, []int)
func (*GeoIpDataRequest) GetIP ¶
func (m *GeoIpDataRequest) GetIP() string
func (*GeoIpDataRequest) ProtoMessage ¶
func (*GeoIpDataRequest) ProtoMessage()
func (*GeoIpDataRequest) Reset ¶
func (m *GeoIpDataRequest) Reset()
func (*GeoIpDataRequest) String ¶
func (m *GeoIpDataRequest) String() string
func (*GeoIpDataRequest) XXX_DiscardUnknown ¶
func (m *GeoIpDataRequest) XXX_DiscardUnknown()
func (*GeoIpDataRequest) XXX_Marshal ¶
func (m *GeoIpDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GeoIpDataRequest) XXX_Merge ¶
func (dst *GeoIpDataRequest) XXX_Merge(src proto.Message)
func (*GeoIpDataRequest) XXX_Size ¶
func (m *GeoIpDataRequest) XXX_Size() int
func (*GeoIpDataRequest) XXX_Unmarshal ¶
func (m *GeoIpDataRequest) XXX_Unmarshal(b []byte) error
type GeoIpDataResponse ¶
type GeoIpDataResponse struct { City *GeoIpCity `protobuf:"bytes,1,opt,name=City,proto3" json:"City,omitempty"` Continent *GeoIpContinent `protobuf:"bytes,2,opt,name=Continent,proto3" json:"Continent,omitempty"` Country *GeoIpCountry `protobuf:"bytes,3,opt,name=Country,proto3" json:"Country,omitempty"` Location *GeoIpLocation `protobuf:"bytes,4,opt,name=Location,proto3" json:"Location,omitempty"` Postal *GeoIpPostal `protobuf:"bytes,5,opt,name=Postal,proto3" json:"Postal,omitempty"` RepresentedCountry *GeoIpRepresentedCountry `protobuf:"bytes,6,opt,name=RepresentedCountry,proto3" json:"RepresentedCountry,omitempty"` Subdivisions []*GeoIpSubdivision `protobuf:"bytes,7,rep,name=Subdivisions,proto3" json:"Subdivisions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GeoIpDataResponse) Descriptor ¶
func (*GeoIpDataResponse) Descriptor() ([]byte, []int)
func (*GeoIpDataResponse) GetCity ¶
func (m *GeoIpDataResponse) GetCity() *GeoIpCity
func (*GeoIpDataResponse) GetContinent ¶
func (m *GeoIpDataResponse) GetContinent() *GeoIpContinent
func (*GeoIpDataResponse) GetCountry ¶
func (m *GeoIpDataResponse) GetCountry() *GeoIpCountry
func (*GeoIpDataResponse) GetLocation ¶
func (m *GeoIpDataResponse) GetLocation() *GeoIpLocation
func (*GeoIpDataResponse) GetPostal ¶
func (m *GeoIpDataResponse) GetPostal() *GeoIpPostal
func (*GeoIpDataResponse) GetRepresentedCountry ¶
func (m *GeoIpDataResponse) GetRepresentedCountry() *GeoIpRepresentedCountry
func (*GeoIpDataResponse) GetSubdivisions ¶
func (m *GeoIpDataResponse) GetSubdivisions() []*GeoIpSubdivision
func (*GeoIpDataResponse) ProtoMessage ¶
func (*GeoIpDataResponse) ProtoMessage()
func (*GeoIpDataResponse) Reset ¶
func (m *GeoIpDataResponse) Reset()
func (*GeoIpDataResponse) String ¶
func (m *GeoIpDataResponse) String() string
func (*GeoIpDataResponse) XXX_DiscardUnknown ¶
func (m *GeoIpDataResponse) XXX_DiscardUnknown()
func (*GeoIpDataResponse) XXX_Marshal ¶
func (m *GeoIpDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GeoIpDataResponse) XXX_Merge ¶
func (dst *GeoIpDataResponse) XXX_Merge(src proto.Message)
func (*GeoIpDataResponse) XXX_Size ¶
func (m *GeoIpDataResponse) XXX_Size() int
func (*GeoIpDataResponse) XXX_Unmarshal ¶
func (m *GeoIpDataResponse) XXX_Unmarshal(b []byte) error
type GeoIpLocation ¶
type GeoIpLocation struct { AccuracyRadius uint32 `protobuf:"varint,1,opt,name=AccuracyRadius,proto3" json:"AccuracyRadius,omitempty"` Latitude float64 `protobuf:"fixed64,2,opt,name=Latitude,proto3" json:"Latitude,omitempty"` Longitude float64 `protobuf:"fixed64,3,opt,name=Longitude,proto3" json:"Longitude,omitempty"` MetroCode uint32 `protobuf:"varint,4,opt,name=MetroCode,proto3" json:"MetroCode,omitempty"` TimeZone string `protobuf:"bytes,5,opt,name=TimeZone,proto3" json:"TimeZone,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GeoIpLocation) Descriptor ¶
func (*GeoIpLocation) Descriptor() ([]byte, []int)
func (*GeoIpLocation) GetAccuracyRadius ¶
func (m *GeoIpLocation) GetAccuracyRadius() uint32
func (*GeoIpLocation) GetLatitude ¶
func (m *GeoIpLocation) GetLatitude() float64
func (*GeoIpLocation) GetLongitude ¶
func (m *GeoIpLocation) GetLongitude() float64
func (*GeoIpLocation) GetMetroCode ¶
func (m *GeoIpLocation) GetMetroCode() uint32
func (*GeoIpLocation) GetTimeZone ¶
func (m *GeoIpLocation) GetTimeZone() string
func (*GeoIpLocation) ProtoMessage ¶
func (*GeoIpLocation) ProtoMessage()
func (*GeoIpLocation) Reset ¶
func (m *GeoIpLocation) Reset()
func (*GeoIpLocation) String ¶
func (m *GeoIpLocation) String() string
func (*GeoIpLocation) XXX_DiscardUnknown ¶
func (m *GeoIpLocation) XXX_DiscardUnknown()
func (*GeoIpLocation) XXX_Marshal ¶
func (m *GeoIpLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GeoIpLocation) XXX_Merge ¶
func (dst *GeoIpLocation) XXX_Merge(src proto.Message)
func (*GeoIpLocation) XXX_Size ¶
func (m *GeoIpLocation) XXX_Size() int
func (*GeoIpLocation) XXX_Unmarshal ¶
func (m *GeoIpLocation) XXX_Unmarshal(b []byte) error
type GeoIpPostal ¶
type GeoIpPostal struct { Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GeoIpPostal) Descriptor ¶
func (*GeoIpPostal) Descriptor() ([]byte, []int)
func (*GeoIpPostal) GetCode ¶
func (m *GeoIpPostal) GetCode() string
func (*GeoIpPostal) ProtoMessage ¶
func (*GeoIpPostal) ProtoMessage()
func (*GeoIpPostal) Reset ¶
func (m *GeoIpPostal) Reset()
func (*GeoIpPostal) String ¶
func (m *GeoIpPostal) String() string
func (*GeoIpPostal) XXX_DiscardUnknown ¶
func (m *GeoIpPostal) XXX_DiscardUnknown()
func (*GeoIpPostal) XXX_Marshal ¶
func (m *GeoIpPostal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GeoIpPostal) XXX_Merge ¶
func (dst *GeoIpPostal) XXX_Merge(src proto.Message)
func (*GeoIpPostal) XXX_Size ¶
func (m *GeoIpPostal) XXX_Size() int
func (*GeoIpPostal) XXX_Unmarshal ¶
func (m *GeoIpPostal) XXX_Unmarshal(b []byte) error
type GeoIpRepresentedCountry ¶
type GeoIpRepresentedCountry struct { GeoNameID uint32 `protobuf:"varint,1,opt,name=GeoNameID,proto3" json:"GeoNameID,omitempty"` IsInEuropeanUnion bool `protobuf:"varint,2,opt,name=IsInEuropeanUnion,proto3" json:"IsInEuropeanUnion,omitempty"` IsoCode string `protobuf:"bytes,3,opt,name=IsoCode,proto3" json:"IsoCode,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Names map[string]string `` /* 151-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GeoIpRepresentedCountry) Descriptor ¶
func (*GeoIpRepresentedCountry) Descriptor() ([]byte, []int)
func (*GeoIpRepresentedCountry) GetGeoNameID ¶
func (m *GeoIpRepresentedCountry) GetGeoNameID() uint32
func (*GeoIpRepresentedCountry) GetIsInEuropeanUnion ¶
func (m *GeoIpRepresentedCountry) GetIsInEuropeanUnion() bool
func (*GeoIpRepresentedCountry) GetIsoCode ¶
func (m *GeoIpRepresentedCountry) GetIsoCode() string
func (*GeoIpRepresentedCountry) GetNames ¶
func (m *GeoIpRepresentedCountry) GetNames() map[string]string
func (*GeoIpRepresentedCountry) GetType ¶
func (m *GeoIpRepresentedCountry) GetType() string
func (*GeoIpRepresentedCountry) ProtoMessage ¶
func (*GeoIpRepresentedCountry) ProtoMessage()
func (*GeoIpRepresentedCountry) Reset ¶
func (m *GeoIpRepresentedCountry) Reset()
func (*GeoIpRepresentedCountry) String ¶
func (m *GeoIpRepresentedCountry) String() string
func (*GeoIpRepresentedCountry) XXX_DiscardUnknown ¶
func (m *GeoIpRepresentedCountry) XXX_DiscardUnknown()
func (*GeoIpRepresentedCountry) XXX_Marshal ¶
func (m *GeoIpRepresentedCountry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GeoIpRepresentedCountry) XXX_Merge ¶
func (dst *GeoIpRepresentedCountry) XXX_Merge(src proto.Message)
func (*GeoIpRepresentedCountry) XXX_Size ¶
func (m *GeoIpRepresentedCountry) XXX_Size() int
func (*GeoIpRepresentedCountry) XXX_Unmarshal ¶
func (m *GeoIpRepresentedCountry) XXX_Unmarshal(b []byte) error
type GeoIpService ¶
type GeoIpService interface {
GetIpData(ctx context.Context, in *GeoIpDataRequest, opts ...client.CallOption) (*GeoIpDataResponse, error)
}
func NewGeoIpService ¶
func NewGeoIpService(name string, c client.Client) GeoIpService
type GeoIpServiceHandler ¶
type GeoIpServiceHandler interface {
GetIpData(context.Context, *GeoIpDataRequest, *GeoIpDataResponse) error
}
type GeoIpSubdivision ¶
type GeoIpSubdivision struct { GeoNameID uint32 `protobuf:"varint,1,opt,name=GeoNameID,proto3" json:"GeoNameID,omitempty"` IsoCode string `protobuf:"bytes,2,opt,name=IsoCode,proto3" json:"IsoCode,omitempty"` Names map[string]string `` /* 151-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GeoIpSubdivision) Descriptor ¶
func (*GeoIpSubdivision) Descriptor() ([]byte, []int)
func (*GeoIpSubdivision) GetGeoNameID ¶
func (m *GeoIpSubdivision) GetGeoNameID() uint32
func (*GeoIpSubdivision) GetIsoCode ¶
func (m *GeoIpSubdivision) GetIsoCode() string
func (*GeoIpSubdivision) GetNames ¶
func (m *GeoIpSubdivision) GetNames() map[string]string
func (*GeoIpSubdivision) ProtoMessage ¶
func (*GeoIpSubdivision) ProtoMessage()
func (*GeoIpSubdivision) Reset ¶
func (m *GeoIpSubdivision) Reset()
func (*GeoIpSubdivision) String ¶
func (m *GeoIpSubdivision) String() string
func (*GeoIpSubdivision) XXX_DiscardUnknown ¶
func (m *GeoIpSubdivision) XXX_DiscardUnknown()
func (*GeoIpSubdivision) XXX_Marshal ¶
func (m *GeoIpSubdivision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GeoIpSubdivision) XXX_Merge ¶
func (dst *GeoIpSubdivision) XXX_Merge(src proto.Message)
func (*GeoIpSubdivision) XXX_Size ¶
func (m *GeoIpSubdivision) XXX_Size() int
func (*GeoIpSubdivision) XXX_Unmarshal ¶
func (m *GeoIpSubdivision) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.