Documentation ¶
Overview ¶
Package common is a generated protocol buffer package.
It is generated from these files:
github.com/micro/geo-srv/proto/common.proto
It has these top-level messages:
Point Entity
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"` Location *Point `protobuf:"bytes,3,opt,name=location" json:"location,omitempty"` }
func (*Entity) Descriptor ¶
func (*Entity) GetLocation ¶
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
type Point ¶
type Point struct { Latitude float64 `protobuf:"fixed64,1,opt,name=latitude" json:"latitude,omitempty"` Longitude float64 `protobuf:"fixed64,2,opt,name=longitude" json:"longitude,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` }
func (*Point) Descriptor ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.