Documentation ¶
Index ¶
- Variables
- func RegisterNYCabServer(s *grpc.Server, srv NYCabServer)
- type GetCabPickupCountRequest
- func (*GetCabPickupCountRequest) Descriptor() ([]byte, []int)
- func (m *GetCabPickupCountRequest) GetDayTime() int64
- func (m *GetCabPickupCountRequest) GetMedallions() []string
- func (m *GetCabPickupCountRequest) Marshal() (dAtA []byte, err error)
- func (m *GetCabPickupCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetCabPickupCountRequest) ProtoMessage()
- func (m *GetCabPickupCountRequest) Reset()
- func (m *GetCabPickupCountRequest) Size() (n int)
- func (m *GetCabPickupCountRequest) String() string
- func (m *GetCabPickupCountRequest) Unmarshal(dAtA []byte) error
- func (m *GetCabPickupCountRequest) XXX_DiscardUnknown()
- func (m *GetCabPickupCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCabPickupCountRequest) XXX_Merge(src proto.Message)
- func (m *GetCabPickupCountRequest) XXX_Size() int
- func (m *GetCabPickupCountRequest) XXX_Unmarshal(b []byte) error
- type GetCabPickupCountResponse
- func (*GetCabPickupCountResponse) Descriptor() ([]byte, []int)
- func (m *GetCabPickupCountResponse) GetDayTime() int64
- func (m *GetCabPickupCountResponse) GetInfo() []*MedallionPickupInfo
- func (m *GetCabPickupCountResponse) Marshal() (dAtA []byte, err error)
- func (m *GetCabPickupCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetCabPickupCountResponse) ProtoMessage()
- func (m *GetCabPickupCountResponse) Reset()
- func (m *GetCabPickupCountResponse) Size() (n int)
- func (m *GetCabPickupCountResponse) String() string
- func (m *GetCabPickupCountResponse) Unmarshal(dAtA []byte) error
- func (m *GetCabPickupCountResponse) XXX_DiscardUnknown()
- func (m *GetCabPickupCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCabPickupCountResponse) XXX_Merge(src proto.Message)
- func (m *GetCabPickupCountResponse) XXX_Size() int
- func (m *GetCabPickupCountResponse) XXX_Unmarshal(b []byte) error
- type MedallionPickupInfo
- func (*MedallionPickupInfo) Descriptor() ([]byte, []int)
- func (m *MedallionPickupInfo) GetCount() int64
- func (m *MedallionPickupInfo) GetMedallion() string
- func (m *MedallionPickupInfo) Marshal() (dAtA []byte, err error)
- func (m *MedallionPickupInfo) MarshalTo(dAtA []byte) (int, error)
- func (*MedallionPickupInfo) ProtoMessage()
- func (m *MedallionPickupInfo) Reset()
- func (m *MedallionPickupInfo) Size() (n int)
- func (m *MedallionPickupInfo) String() string
- func (m *MedallionPickupInfo) Unmarshal(dAtA []byte) error
- func (m *MedallionPickupInfo) XXX_DiscardUnknown()
- func (m *MedallionPickupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MedallionPickupInfo) XXX_Merge(src proto.Message)
- func (m *MedallionPickupInfo) XXX_Size() int
- func (m *MedallionPickupInfo) XXX_Unmarshal(b []byte) error
- type NYCabClient
- type NYCabServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthModel = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModel = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowService = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterNYCabServer ¶
func RegisterNYCabServer(s *grpc.Server, srv NYCabServer)
Types ¶
type GetCabPickupCountRequest ¶
type GetCabPickupCountRequest struct { DayTime int64 `protobuf:"varint,1,opt,name=dayTime,proto3" json:"dayTime,omitempty"` Medallions []string `protobuf:"bytes,2,rep,name=medallions,proto3" json:"medallions,omitempty"` }
func (*GetCabPickupCountRequest) Descriptor ¶
func (*GetCabPickupCountRequest) Descriptor() ([]byte, []int)
func (*GetCabPickupCountRequest) GetDayTime ¶
func (m *GetCabPickupCountRequest) GetDayTime() int64
func (*GetCabPickupCountRequest) GetMedallions ¶
func (m *GetCabPickupCountRequest) GetMedallions() []string
func (*GetCabPickupCountRequest) Marshal ¶
func (m *GetCabPickupCountRequest) Marshal() (dAtA []byte, err error)
func (*GetCabPickupCountRequest) MarshalTo ¶
func (m *GetCabPickupCountRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetCabPickupCountRequest) ProtoMessage ¶
func (*GetCabPickupCountRequest) ProtoMessage()
func (*GetCabPickupCountRequest) Reset ¶
func (m *GetCabPickupCountRequest) Reset()
func (*GetCabPickupCountRequest) Size ¶
func (m *GetCabPickupCountRequest) Size() (n int)
func (*GetCabPickupCountRequest) String ¶
func (m *GetCabPickupCountRequest) String() string
func (*GetCabPickupCountRequest) Unmarshal ¶
func (m *GetCabPickupCountRequest) Unmarshal(dAtA []byte) error
func (*GetCabPickupCountRequest) XXX_DiscardUnknown ¶
func (m *GetCabPickupCountRequest) XXX_DiscardUnknown()
func (*GetCabPickupCountRequest) XXX_Marshal ¶
func (m *GetCabPickupCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCabPickupCountRequest) XXX_Merge ¶
func (m *GetCabPickupCountRequest) XXX_Merge(src proto.Message)
func (*GetCabPickupCountRequest) XXX_Size ¶
func (m *GetCabPickupCountRequest) XXX_Size() int
func (*GetCabPickupCountRequest) XXX_Unmarshal ¶
func (m *GetCabPickupCountRequest) XXX_Unmarshal(b []byte) error
type GetCabPickupCountResponse ¶
type GetCabPickupCountResponse struct { DayTime int64 `protobuf:"varint,1,opt,name=dayTime,proto3" json:"dayTime,omitempty"` Info []*MedallionPickupInfo `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty"` }
func (*GetCabPickupCountResponse) Descriptor ¶
func (*GetCabPickupCountResponse) Descriptor() ([]byte, []int)
func (*GetCabPickupCountResponse) GetDayTime ¶
func (m *GetCabPickupCountResponse) GetDayTime() int64
func (*GetCabPickupCountResponse) GetInfo ¶
func (m *GetCabPickupCountResponse) GetInfo() []*MedallionPickupInfo
func (*GetCabPickupCountResponse) Marshal ¶
func (m *GetCabPickupCountResponse) Marshal() (dAtA []byte, err error)
func (*GetCabPickupCountResponse) MarshalTo ¶
func (m *GetCabPickupCountResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetCabPickupCountResponse) ProtoMessage ¶
func (*GetCabPickupCountResponse) ProtoMessage()
func (*GetCabPickupCountResponse) Reset ¶
func (m *GetCabPickupCountResponse) Reset()
func (*GetCabPickupCountResponse) Size ¶
func (m *GetCabPickupCountResponse) Size() (n int)
func (*GetCabPickupCountResponse) String ¶
func (m *GetCabPickupCountResponse) String() string
func (*GetCabPickupCountResponse) Unmarshal ¶
func (m *GetCabPickupCountResponse) Unmarshal(dAtA []byte) error
func (*GetCabPickupCountResponse) XXX_DiscardUnknown ¶
func (m *GetCabPickupCountResponse) XXX_DiscardUnknown()
func (*GetCabPickupCountResponse) XXX_Marshal ¶
func (m *GetCabPickupCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCabPickupCountResponse) XXX_Merge ¶
func (m *GetCabPickupCountResponse) XXX_Merge(src proto.Message)
func (*GetCabPickupCountResponse) XXX_Size ¶
func (m *GetCabPickupCountResponse) XXX_Size() int
func (*GetCabPickupCountResponse) XXX_Unmarshal ¶
func (m *GetCabPickupCountResponse) XXX_Unmarshal(b []byte) error
type MedallionPickupInfo ¶
type MedallionPickupInfo struct { Medallion string `protobuf:"bytes,1,opt,name=medallion,proto3" json:"medallion,omitempty" db:"medallion"` Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" db:"count"` }
func (*MedallionPickupInfo) Descriptor ¶
func (*MedallionPickupInfo) Descriptor() ([]byte, []int)
func (*MedallionPickupInfo) GetCount ¶
func (m *MedallionPickupInfo) GetCount() int64
func (*MedallionPickupInfo) GetMedallion ¶
func (m *MedallionPickupInfo) GetMedallion() string
func (*MedallionPickupInfo) Marshal ¶
func (m *MedallionPickupInfo) Marshal() (dAtA []byte, err error)
func (*MedallionPickupInfo) MarshalTo ¶
func (m *MedallionPickupInfo) MarshalTo(dAtA []byte) (int, error)
func (*MedallionPickupInfo) ProtoMessage ¶
func (*MedallionPickupInfo) ProtoMessage()
func (*MedallionPickupInfo) Reset ¶
func (m *MedallionPickupInfo) Reset()
func (*MedallionPickupInfo) Size ¶
func (m *MedallionPickupInfo) Size() (n int)
func (*MedallionPickupInfo) String ¶
func (m *MedallionPickupInfo) String() string
func (*MedallionPickupInfo) Unmarshal ¶
func (m *MedallionPickupInfo) Unmarshal(dAtA []byte) error
func (*MedallionPickupInfo) XXX_DiscardUnknown ¶
func (m *MedallionPickupInfo) XXX_DiscardUnknown()
func (*MedallionPickupInfo) XXX_Marshal ¶
func (m *MedallionPickupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MedallionPickupInfo) XXX_Merge ¶
func (m *MedallionPickupInfo) XXX_Merge(src proto.Message)
func (*MedallionPickupInfo) XXX_Size ¶
func (m *MedallionPickupInfo) XXX_Size() int
func (*MedallionPickupInfo) XXX_Unmarshal ¶
func (m *MedallionPickupInfo) XXX_Unmarshal(b []byte) error
type NYCabClient ¶
type NYCabClient interface { // Creates an Order DoGetCabPickupCount(ctx context.Context, in *GetCabPickupCountRequest, opts ...grpc.CallOption) (*GetCabPickupCountResponse, error) }
NYCabClient is the client API for NYCab service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNYCabClient ¶
func NewNYCabClient(cc *grpc.ClientConn) NYCabClient
type NYCabServer ¶
type NYCabServer interface { // Creates an Order DoGetCabPickupCount(context.Context, *GetCabPickupCountRequest) (*GetCabPickupCountResponse, error) }
NYCabServer is the server API for NYCab service.
Click to show internal directories.
Click to hide internal directories.