Documentation ¶
Index ¶
- func RegisterEchoServerServer(s *grpc.Server, srv EchoServerServer)
- type EchoServerClient
- type EchoServerServer
- type Offset
- func (*Offset) Descriptor() ([]byte, []int)
- func (m *Offset) GetX() float32
- func (m *Offset) GetY() float32
- func (*Offset) ProtoMessage()
- func (m *Offset) Reset()
- func (m *Offset) String() string
- func (m *Offset) XXX_DiscardUnknown()
- func (m *Offset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Offset) XXX_Merge(src proto.Message)
- func (m *Offset) XXX_Size() int
- func (m *Offset) XXX_Unmarshal(b []byte) error
- type Point
- func (*Point) Descriptor() ([]byte, []int)
- func (m *Point) GetLatitude() int32
- func (m *Point) GetLongitude() int32
- func (*Point) ProtoMessage()
- func (m *Point) Reset()
- func (m *Point) String() string
- func (m *Point) XXX_DiscardUnknown()
- func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Point) XXX_Merge(src proto.Message)
- func (m *Point) XXX_Size() int
- func (m *Point) XXX_Unmarshal(b []byte) error
- type UnimplementedEchoServerServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEchoServerServer ¶
func RegisterEchoServerServer(s *grpc.Server, srv EchoServerServer)
Types ¶
type EchoServerClient ¶
type EchoServerClient interface {
Fly(ctx context.Context, in *Offset, opts ...grpc.CallOption) (*Offset, error)
}
EchoServerClient is the client API for EchoServer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEchoServerClient ¶
func NewEchoServerClient(cc grpc.ClientConnInterface) EchoServerClient
type EchoServerServer ¶
EchoServerServer is the server API for EchoServer service.
type Offset ¶
type Offset struct { X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Offset) Descriptor ¶
func (*Offset) ProtoMessage ¶
func (*Offset) ProtoMessage()
func (*Offset) XXX_DiscardUnknown ¶
func (m *Offset) XXX_DiscardUnknown()
func (*Offset) XXX_Marshal ¶
func (*Offset) XXX_Unmarshal ¶
type Point ¶
type Point struct { Latitude int32 `protobuf:"varint,1,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude int32 `protobuf:"varint,2,opt,name=longitude,proto3" json:"longitude,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Point) Descriptor ¶
func (*Point) GetLatitude ¶
func (*Point) GetLongitude ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) XXX_DiscardUnknown ¶
func (m *Point) XXX_DiscardUnknown()
func (*Point) XXX_Marshal ¶
func (*Point) XXX_Unmarshal ¶
type UnimplementedEchoServerServer ¶
type UnimplementedEchoServerServer struct { }
UnimplementedEchoServerServer can be embedded to have forward compatible implementations.
Click to show internal directories.
Click to hide internal directories.