weather

package
Version: v0.0.0-...-cbd92a3 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: MIT Imports: 3 Imported by: 0

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) Descriptor() ([]byte, []int)

func (*Event) GetCity

func (m *Event) GetCity() string

func (*Event) GetTemperature

func (m *Event) GetTemperature() int64

func (*Event) GetTimestamp

func (m *Event) GetTimestamp() int64

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL