Documentation ¶
Overview ¶
Package flight defines protobuf-formatted data as used by the airport example.
Package flight is a generated protocol buffer package.
It is generated from these files:
flight.proto
It has these top-level messages:
Info
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Status_name = map[int32]string{
0: "arrival",
1: "departure",
}
View Source
var Status_value = map[string]int32{
"arrival": 0,
"departure": 1,
}
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Airline string `protobuf:"bytes,1,opt,name=airline,proto3" json:"airline,omitempty"` Number uint32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=flight.Status" json:"status,omitempty"` Priority uint32 `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"` }
func (*Info) Descriptor ¶
func (*Info) GetAirline ¶
func (*Info) GetPriority ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.