Documentation ¶
Overview ¶
Package weather is a generated protocol buffer package.
It is generated from these files:
proto/weather.proto
It has these top-level messages:
Event
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // city name City string `protobuf:"bytes,1,opt,name=city" json:"city,omitempty"` // unix timestamp Timestamp int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` // temperaure in Celcius Temperature int64 `protobuf:"varint,3,opt,name=temperature" json:"temperature,omitempty"` }
Example message
func (*Event) Descriptor ¶
func (*Event) GetTemperature ¶
func (*Event) GetTimestamp ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.