Documentation ¶
Overview ¶
Package flight defines protobuf-formatted data as used by the airport example.
Index ¶
- Variables
- type Info
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) GetAirline() string
- func (m *Info) GetNumber() uint32
- func (m *Info) GetPriority() uint32
- func (m *Info) GetStatus() Status
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) String() string
- func (m *Info) XXX_DiscardUnknown()
- func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Info) XXX_Merge(src proto.Message)
- func (m *Info) XXX_Size() int
- func (m *Info) XXX_Unmarshal(b []byte) error
- type Status
Constants ¶
This section is empty.
Variables ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Info) XXX_Marshal ¶ added in v1.6.0
Click to show internal directories.
Click to hide internal directories.