Documentation ¶
Overview ¶
Package proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterPassengerFeedbackServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPassengerFeedbackServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterPassengerFeedbackServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPassengerFeedbackServiceServer(s *grpc.Server, srv PassengerFeedbackServiceServer)
- type AddFeedbackRequest
- func (*AddFeedbackRequest) Descriptor() ([]byte, []int)
- func (m *AddFeedbackRequest) GetBookingCode() string
- func (m *AddFeedbackRequest) GetFeedback() string
- func (m *AddFeedbackRequest) GetPassengerID() int32
- func (*AddFeedbackRequest) ProtoMessage()
- func (m *AddFeedbackRequest) Reset()
- func (m *AddFeedbackRequest) String() string
- func (m *AddFeedbackRequest) XXX_DiscardUnknown()
- func (m *AddFeedbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddFeedbackRequest) XXX_Merge(src proto.Message)
- func (m *AddFeedbackRequest) XXX_Size() int
- func (m *AddFeedbackRequest) XXX_Unmarshal(b []byte) error
- type AddFeedbackResponse
- func (*AddFeedbackResponse) Descriptor() ([]byte, []int)
- func (m *AddFeedbackResponse) GetReturnCode() int32
- func (m *AddFeedbackResponse) GetReturnMessage() string
- func (*AddFeedbackResponse) ProtoMessage()
- func (m *AddFeedbackResponse) Reset()
- func (m *AddFeedbackResponse) String() string
- func (m *AddFeedbackResponse) XXX_DiscardUnknown()
- func (m *AddFeedbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddFeedbackResponse) XXX_Merge(src proto.Message)
- func (m *AddFeedbackResponse) XXX_Size() int
- func (m *AddFeedbackResponse) XXX_Unmarshal(b []byte) error
- type DeleteFeedbackByPassengerIDRequest
- func (*DeleteFeedbackByPassengerIDRequest) Descriptor() ([]byte, []int)
- func (m *DeleteFeedbackByPassengerIDRequest) GetPassengerID() int32
- func (*DeleteFeedbackByPassengerIDRequest) ProtoMessage()
- func (m *DeleteFeedbackByPassengerIDRequest) Reset()
- func (m *DeleteFeedbackByPassengerIDRequest) String() string
- func (m *DeleteFeedbackByPassengerIDRequest) XXX_DiscardUnknown()
- func (m *DeleteFeedbackByPassengerIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteFeedbackByPassengerIDRequest) XXX_Merge(src proto.Message)
- func (m *DeleteFeedbackByPassengerIDRequest) XXX_Size() int
- func (m *DeleteFeedbackByPassengerIDRequest) XXX_Unmarshal(b []byte) error
- type DeleteFeedbackByPassengerIDResponse
- func (*DeleteFeedbackByPassengerIDResponse) Descriptor() ([]byte, []int)
- func (m *DeleteFeedbackByPassengerIDResponse) GetReturnCode() int32
- func (m *DeleteFeedbackByPassengerIDResponse) GetReturnMessage() string
- func (*DeleteFeedbackByPassengerIDResponse) ProtoMessage()
- func (m *DeleteFeedbackByPassengerIDResponse) Reset()
- func (m *DeleteFeedbackByPassengerIDResponse) String() string
- func (m *DeleteFeedbackByPassengerIDResponse) XXX_DiscardUnknown()
- func (m *DeleteFeedbackByPassengerIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteFeedbackByPassengerIDResponse) XXX_Merge(src proto.Message)
- func (m *DeleteFeedbackByPassengerIDResponse) XXX_Size() int
- func (m *DeleteFeedbackByPassengerIDResponse) XXX_Unmarshal(b []byte) error
- type GetFeedbackByBookingCodeRequest
- func (*GetFeedbackByBookingCodeRequest) Descriptor() ([]byte, []int)
- func (m *GetFeedbackByBookingCodeRequest) GetBookingCode() string
- func (*GetFeedbackByBookingCodeRequest) ProtoMessage()
- func (m *GetFeedbackByBookingCodeRequest) Reset()
- func (m *GetFeedbackByBookingCodeRequest) String() string
- func (m *GetFeedbackByBookingCodeRequest) XXX_DiscardUnknown()
- func (m *GetFeedbackByBookingCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeedbackByBookingCodeRequest) XXX_Merge(src proto.Message)
- func (m *GetFeedbackByBookingCodeRequest) XXX_Size() int
- func (m *GetFeedbackByBookingCodeRequest) XXX_Unmarshal(b []byte) error
- type GetFeedbackByBookingCodeResponse
- func (*GetFeedbackByBookingCodeResponse) Descriptor() ([]byte, []int)
- func (m *GetFeedbackByBookingCodeResponse) GetFeedback() *PassengerFeedback
- func (m *GetFeedbackByBookingCodeResponse) GetReturnCode() int32
- func (m *GetFeedbackByBookingCodeResponse) GetReturnMessage() string
- func (*GetFeedbackByBookingCodeResponse) ProtoMessage()
- func (m *GetFeedbackByBookingCodeResponse) Reset()
- func (m *GetFeedbackByBookingCodeResponse) String() string
- func (m *GetFeedbackByBookingCodeResponse) XXX_DiscardUnknown()
- func (m *GetFeedbackByBookingCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeedbackByBookingCodeResponse) XXX_Merge(src proto.Message)
- func (m *GetFeedbackByBookingCodeResponse) XXX_Size() int
- func (m *GetFeedbackByBookingCodeResponse) XXX_Unmarshal(b []byte) error
- type GetFeedbackByPassengerIDRequest
- func (*GetFeedbackByPassengerIDRequest) Descriptor() ([]byte, []int)
- func (m *GetFeedbackByPassengerIDRequest) GetPassengerID() int32
- func (*GetFeedbackByPassengerIDRequest) ProtoMessage()
- func (m *GetFeedbackByPassengerIDRequest) Reset()
- func (m *GetFeedbackByPassengerIDRequest) String() string
- func (m *GetFeedbackByPassengerIDRequest) XXX_DiscardUnknown()
- func (m *GetFeedbackByPassengerIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeedbackByPassengerIDRequest) XXX_Merge(src proto.Message)
- func (m *GetFeedbackByPassengerIDRequest) XXX_Size() int
- func (m *GetFeedbackByPassengerIDRequest) XXX_Unmarshal(b []byte) error
- type GetFeedbackByPassengerIDResponse
- func (*GetFeedbackByPassengerIDResponse) Descriptor() ([]byte, []int)
- func (m *GetFeedbackByPassengerIDResponse) GetFeedbacks() []*PassengerFeedback
- func (m *GetFeedbackByPassengerIDResponse) GetReturnCode() int32
- func (m *GetFeedbackByPassengerIDResponse) GetReturnMessage() string
- func (*GetFeedbackByPassengerIDResponse) ProtoMessage()
- func (m *GetFeedbackByPassengerIDResponse) Reset()
- func (m *GetFeedbackByPassengerIDResponse) String() string
- func (m *GetFeedbackByPassengerIDResponse) XXX_DiscardUnknown()
- func (m *GetFeedbackByPassengerIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeedbackByPassengerIDResponse) XXX_Merge(src proto.Message)
- func (m *GetFeedbackByPassengerIDResponse) XXX_Size() int
- func (m *GetFeedbackByPassengerIDResponse) XXX_Unmarshal(b []byte) error
- type PassengerFeedback
- func (*PassengerFeedback) Descriptor() ([]byte, []int)
- func (m *PassengerFeedback) GetBookingCode() string
- func (m *PassengerFeedback) GetFeedback() string
- func (m *PassengerFeedback) GetPassengerID() int32
- func (*PassengerFeedback) ProtoMessage()
- func (m *PassengerFeedback) Reset()
- func (m *PassengerFeedback) String() string
- func (m *PassengerFeedback) XXX_DiscardUnknown()
- func (m *PassengerFeedback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PassengerFeedback) XXX_Merge(src proto.Message)
- func (m *PassengerFeedback) XXX_Size() int
- func (m *PassengerFeedback) XXX_Unmarshal(b []byte) error
- type PassengerFeedbackServiceClient
- type PassengerFeedbackServiceServer
- type UnimplementedPassengerFeedbackServiceServer
- func (*UnimplementedPassengerFeedbackServiceServer) AddFeedback(ctx context.Context, req *AddFeedbackRequest) (*AddFeedbackResponse, error)
- func (*UnimplementedPassengerFeedbackServiceServer) DeleteFeedbackByPassengerID(ctx context.Context, req *DeleteFeedbackByPassengerIDRequest) (*DeleteFeedbackByPassengerIDResponse, error)
- func (*UnimplementedPassengerFeedbackServiceServer) GetFeedbackByBookingCode(ctx context.Context, req *GetFeedbackByBookingCodeRequest) (*GetFeedbackByBookingCodeResponse, error)
- func (*UnimplementedPassengerFeedbackServiceServer) GetFeedbackByPassengerID(ctx context.Context, req *GetFeedbackByPassengerIDRequest) (*GetFeedbackByPassengerIDResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPassengerFeedbackServiceHandler ¶
func RegisterPassengerFeedbackServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPassengerFeedbackServiceHandler registers the http handlers for service PassengerFeedbackService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPassengerFeedbackServiceHandlerClient ¶
func RegisterPassengerFeedbackServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PassengerFeedbackServiceClient) error
RegisterPassengerFeedbackServiceHandlerClient registers the http handlers for service PassengerFeedbackService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PassengerFeedbackServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PassengerFeedbackServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PassengerFeedbackServiceClient" to call the correct interceptors.
func RegisterPassengerFeedbackServiceHandlerFromEndpoint ¶
func RegisterPassengerFeedbackServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPassengerFeedbackServiceHandlerFromEndpoint is same as RegisterPassengerFeedbackServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPassengerFeedbackServiceServer ¶
func RegisterPassengerFeedbackServiceServer(s *grpc.Server, srv PassengerFeedbackServiceServer)
Types ¶
type AddFeedbackRequest ¶
type AddFeedbackRequest struct { BookingCode string `protobuf:"bytes,1,opt,name=bookingCode,proto3" json:"bookingCode,omitempty"` PassengerID int32 `protobuf:"varint,2,opt,name=passengerID,proto3" json:"passengerID,omitempty"` Feedback string `protobuf:"bytes,3,opt,name=feedback,proto3" json:"feedback,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddFeedbackRequest) Descriptor ¶
func (*AddFeedbackRequest) Descriptor() ([]byte, []int)
func (*AddFeedbackRequest) GetBookingCode ¶
func (m *AddFeedbackRequest) GetBookingCode() string
func (*AddFeedbackRequest) GetFeedback ¶
func (m *AddFeedbackRequest) GetFeedback() string
func (*AddFeedbackRequest) GetPassengerID ¶
func (m *AddFeedbackRequest) GetPassengerID() int32
func (*AddFeedbackRequest) ProtoMessage ¶
func (*AddFeedbackRequest) ProtoMessage()
func (*AddFeedbackRequest) Reset ¶
func (m *AddFeedbackRequest) Reset()
func (*AddFeedbackRequest) String ¶
func (m *AddFeedbackRequest) String() string
func (*AddFeedbackRequest) XXX_DiscardUnknown ¶
func (m *AddFeedbackRequest) XXX_DiscardUnknown()
func (*AddFeedbackRequest) XXX_Marshal ¶
func (m *AddFeedbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddFeedbackRequest) XXX_Merge ¶
func (m *AddFeedbackRequest) XXX_Merge(src proto.Message)
func (*AddFeedbackRequest) XXX_Size ¶
func (m *AddFeedbackRequest) XXX_Size() int
func (*AddFeedbackRequest) XXX_Unmarshal ¶
func (m *AddFeedbackRequest) XXX_Unmarshal(b []byte) error
type AddFeedbackResponse ¶
type AddFeedbackResponse struct { ReturnCode int32 `protobuf:"varint,1,opt,name=returnCode,proto3" json:"returnCode,omitempty"` ReturnMessage string `protobuf:"bytes,2,opt,name=returnMessage,proto3" json:"returnMessage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddFeedbackResponse) Descriptor ¶
func (*AddFeedbackResponse) Descriptor() ([]byte, []int)
func (*AddFeedbackResponse) GetReturnCode ¶
func (m *AddFeedbackResponse) GetReturnCode() int32
func (*AddFeedbackResponse) GetReturnMessage ¶
func (m *AddFeedbackResponse) GetReturnMessage() string
func (*AddFeedbackResponse) ProtoMessage ¶
func (*AddFeedbackResponse) ProtoMessage()
func (*AddFeedbackResponse) Reset ¶
func (m *AddFeedbackResponse) Reset()
func (*AddFeedbackResponse) String ¶
func (m *AddFeedbackResponse) String() string
func (*AddFeedbackResponse) XXX_DiscardUnknown ¶
func (m *AddFeedbackResponse) XXX_DiscardUnknown()
func (*AddFeedbackResponse) XXX_Marshal ¶
func (m *AddFeedbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddFeedbackResponse) XXX_Merge ¶
func (m *AddFeedbackResponse) XXX_Merge(src proto.Message)
func (*AddFeedbackResponse) XXX_Size ¶
func (m *AddFeedbackResponse) XXX_Size() int
func (*AddFeedbackResponse) XXX_Unmarshal ¶
func (m *AddFeedbackResponse) XXX_Unmarshal(b []byte) error
type DeleteFeedbackByPassengerIDRequest ¶
type DeleteFeedbackByPassengerIDRequest struct { PassengerID int32 `protobuf:"varint,1,opt,name=passengerID,proto3" json:"passengerID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteFeedbackByPassengerIDRequest) Descriptor ¶
func (*DeleteFeedbackByPassengerIDRequest) Descriptor() ([]byte, []int)
func (*DeleteFeedbackByPassengerIDRequest) GetPassengerID ¶
func (m *DeleteFeedbackByPassengerIDRequest) GetPassengerID() int32
func (*DeleteFeedbackByPassengerIDRequest) ProtoMessage ¶
func (*DeleteFeedbackByPassengerIDRequest) ProtoMessage()
func (*DeleteFeedbackByPassengerIDRequest) Reset ¶
func (m *DeleteFeedbackByPassengerIDRequest) Reset()
func (*DeleteFeedbackByPassengerIDRequest) String ¶
func (m *DeleteFeedbackByPassengerIDRequest) String() string
func (*DeleteFeedbackByPassengerIDRequest) XXX_DiscardUnknown ¶
func (m *DeleteFeedbackByPassengerIDRequest) XXX_DiscardUnknown()
func (*DeleteFeedbackByPassengerIDRequest) XXX_Marshal ¶
func (m *DeleteFeedbackByPassengerIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteFeedbackByPassengerIDRequest) XXX_Merge ¶
func (m *DeleteFeedbackByPassengerIDRequest) XXX_Merge(src proto.Message)
func (*DeleteFeedbackByPassengerIDRequest) XXX_Size ¶
func (m *DeleteFeedbackByPassengerIDRequest) XXX_Size() int
func (*DeleteFeedbackByPassengerIDRequest) XXX_Unmarshal ¶
func (m *DeleteFeedbackByPassengerIDRequest) XXX_Unmarshal(b []byte) error
type DeleteFeedbackByPassengerIDResponse ¶
type DeleteFeedbackByPassengerIDResponse struct { ReturnCode int32 `protobuf:"varint,1,opt,name=returnCode,proto3" json:"returnCode,omitempty"` ReturnMessage string `protobuf:"bytes,2,opt,name=returnMessage,proto3" json:"returnMessage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteFeedbackByPassengerIDResponse) Descriptor ¶
func (*DeleteFeedbackByPassengerIDResponse) Descriptor() ([]byte, []int)
func (*DeleteFeedbackByPassengerIDResponse) GetReturnCode ¶
func (m *DeleteFeedbackByPassengerIDResponse) GetReturnCode() int32
func (*DeleteFeedbackByPassengerIDResponse) GetReturnMessage ¶
func (m *DeleteFeedbackByPassengerIDResponse) GetReturnMessage() string
func (*DeleteFeedbackByPassengerIDResponse) ProtoMessage ¶
func (*DeleteFeedbackByPassengerIDResponse) ProtoMessage()
func (*DeleteFeedbackByPassengerIDResponse) Reset ¶
func (m *DeleteFeedbackByPassengerIDResponse) Reset()
func (*DeleteFeedbackByPassengerIDResponse) String ¶
func (m *DeleteFeedbackByPassengerIDResponse) String() string
func (*DeleteFeedbackByPassengerIDResponse) XXX_DiscardUnknown ¶
func (m *DeleteFeedbackByPassengerIDResponse) XXX_DiscardUnknown()
func (*DeleteFeedbackByPassengerIDResponse) XXX_Marshal ¶
func (m *DeleteFeedbackByPassengerIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteFeedbackByPassengerIDResponse) XXX_Merge ¶
func (m *DeleteFeedbackByPassengerIDResponse) XXX_Merge(src proto.Message)
func (*DeleteFeedbackByPassengerIDResponse) XXX_Size ¶
func (m *DeleteFeedbackByPassengerIDResponse) XXX_Size() int
func (*DeleteFeedbackByPassengerIDResponse) XXX_Unmarshal ¶
func (m *DeleteFeedbackByPassengerIDResponse) XXX_Unmarshal(b []byte) error
type GetFeedbackByBookingCodeRequest ¶
type GetFeedbackByBookingCodeRequest struct { BookingCode string `protobuf:"bytes,1,opt,name=bookingCode,proto3" json:"bookingCode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetFeedbackByBookingCodeRequest) Descriptor ¶
func (*GetFeedbackByBookingCodeRequest) Descriptor() ([]byte, []int)
func (*GetFeedbackByBookingCodeRequest) GetBookingCode ¶
func (m *GetFeedbackByBookingCodeRequest) GetBookingCode() string
func (*GetFeedbackByBookingCodeRequest) ProtoMessage ¶
func (*GetFeedbackByBookingCodeRequest) ProtoMessage()
func (*GetFeedbackByBookingCodeRequest) Reset ¶
func (m *GetFeedbackByBookingCodeRequest) Reset()
func (*GetFeedbackByBookingCodeRequest) String ¶
func (m *GetFeedbackByBookingCodeRequest) String() string
func (*GetFeedbackByBookingCodeRequest) XXX_DiscardUnknown ¶
func (m *GetFeedbackByBookingCodeRequest) XXX_DiscardUnknown()
func (*GetFeedbackByBookingCodeRequest) XXX_Marshal ¶
func (m *GetFeedbackByBookingCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeedbackByBookingCodeRequest) XXX_Merge ¶
func (m *GetFeedbackByBookingCodeRequest) XXX_Merge(src proto.Message)
func (*GetFeedbackByBookingCodeRequest) XXX_Size ¶
func (m *GetFeedbackByBookingCodeRequest) XXX_Size() int
func (*GetFeedbackByBookingCodeRequest) XXX_Unmarshal ¶
func (m *GetFeedbackByBookingCodeRequest) XXX_Unmarshal(b []byte) error
type GetFeedbackByBookingCodeResponse ¶
type GetFeedbackByBookingCodeResponse struct { ReturnCode int32 `protobuf:"varint,1,opt,name=returnCode,proto3" json:"returnCode,omitempty"` ReturnMessage string `protobuf:"bytes,2,opt,name=returnMessage,proto3" json:"returnMessage,omitempty"` Feedback *PassengerFeedback `protobuf:"bytes,3,opt,name=feedback,proto3" json:"feedback,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetFeedbackByBookingCodeResponse) Descriptor ¶
func (*GetFeedbackByBookingCodeResponse) Descriptor() ([]byte, []int)
func (*GetFeedbackByBookingCodeResponse) GetFeedback ¶
func (m *GetFeedbackByBookingCodeResponse) GetFeedback() *PassengerFeedback
func (*GetFeedbackByBookingCodeResponse) GetReturnCode ¶
func (m *GetFeedbackByBookingCodeResponse) GetReturnCode() int32
func (*GetFeedbackByBookingCodeResponse) GetReturnMessage ¶
func (m *GetFeedbackByBookingCodeResponse) GetReturnMessage() string
func (*GetFeedbackByBookingCodeResponse) ProtoMessage ¶
func (*GetFeedbackByBookingCodeResponse) ProtoMessage()
func (*GetFeedbackByBookingCodeResponse) Reset ¶
func (m *GetFeedbackByBookingCodeResponse) Reset()
func (*GetFeedbackByBookingCodeResponse) String ¶
func (m *GetFeedbackByBookingCodeResponse) String() string
func (*GetFeedbackByBookingCodeResponse) XXX_DiscardUnknown ¶
func (m *GetFeedbackByBookingCodeResponse) XXX_DiscardUnknown()
func (*GetFeedbackByBookingCodeResponse) XXX_Marshal ¶
func (m *GetFeedbackByBookingCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeedbackByBookingCodeResponse) XXX_Merge ¶
func (m *GetFeedbackByBookingCodeResponse) XXX_Merge(src proto.Message)
func (*GetFeedbackByBookingCodeResponse) XXX_Size ¶
func (m *GetFeedbackByBookingCodeResponse) XXX_Size() int
func (*GetFeedbackByBookingCodeResponse) XXX_Unmarshal ¶
func (m *GetFeedbackByBookingCodeResponse) XXX_Unmarshal(b []byte) error
type GetFeedbackByPassengerIDRequest ¶
type GetFeedbackByPassengerIDRequest struct { PassengerID int32 `protobuf:"varint,1,opt,name=passengerID,proto3" json:"passengerID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetFeedbackByPassengerIDRequest) Descriptor ¶
func (*GetFeedbackByPassengerIDRequest) Descriptor() ([]byte, []int)
func (*GetFeedbackByPassengerIDRequest) GetPassengerID ¶
func (m *GetFeedbackByPassengerIDRequest) GetPassengerID() int32
func (*GetFeedbackByPassengerIDRequest) ProtoMessage ¶
func (*GetFeedbackByPassengerIDRequest) ProtoMessage()
func (*GetFeedbackByPassengerIDRequest) Reset ¶
func (m *GetFeedbackByPassengerIDRequest) Reset()
func (*GetFeedbackByPassengerIDRequest) String ¶
func (m *GetFeedbackByPassengerIDRequest) String() string
func (*GetFeedbackByPassengerIDRequest) XXX_DiscardUnknown ¶
func (m *GetFeedbackByPassengerIDRequest) XXX_DiscardUnknown()
func (*GetFeedbackByPassengerIDRequest) XXX_Marshal ¶
func (m *GetFeedbackByPassengerIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeedbackByPassengerIDRequest) XXX_Merge ¶
func (m *GetFeedbackByPassengerIDRequest) XXX_Merge(src proto.Message)
func (*GetFeedbackByPassengerIDRequest) XXX_Size ¶
func (m *GetFeedbackByPassengerIDRequest) XXX_Size() int
func (*GetFeedbackByPassengerIDRequest) XXX_Unmarshal ¶
func (m *GetFeedbackByPassengerIDRequest) XXX_Unmarshal(b []byte) error
type GetFeedbackByPassengerIDResponse ¶
type GetFeedbackByPassengerIDResponse struct { ReturnCode int32 `protobuf:"varint,1,opt,name=returnCode,proto3" json:"returnCode,omitempty"` ReturnMessage string `protobuf:"bytes,2,opt,name=returnMessage,proto3" json:"returnMessage,omitempty"` Feedbacks []*PassengerFeedback `protobuf:"bytes,3,rep,name=feedbacks,proto3" json:"feedbacks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetFeedbackByPassengerIDResponse) Descriptor ¶
func (*GetFeedbackByPassengerIDResponse) Descriptor() ([]byte, []int)
func (*GetFeedbackByPassengerIDResponse) GetFeedbacks ¶
func (m *GetFeedbackByPassengerIDResponse) GetFeedbacks() []*PassengerFeedback
func (*GetFeedbackByPassengerIDResponse) GetReturnCode ¶
func (m *GetFeedbackByPassengerIDResponse) GetReturnCode() int32
func (*GetFeedbackByPassengerIDResponse) GetReturnMessage ¶
func (m *GetFeedbackByPassengerIDResponse) GetReturnMessage() string
func (*GetFeedbackByPassengerIDResponse) ProtoMessage ¶
func (*GetFeedbackByPassengerIDResponse) ProtoMessage()
func (*GetFeedbackByPassengerIDResponse) Reset ¶
func (m *GetFeedbackByPassengerIDResponse) Reset()
func (*GetFeedbackByPassengerIDResponse) String ¶
func (m *GetFeedbackByPassengerIDResponse) String() string
func (*GetFeedbackByPassengerIDResponse) XXX_DiscardUnknown ¶
func (m *GetFeedbackByPassengerIDResponse) XXX_DiscardUnknown()
func (*GetFeedbackByPassengerIDResponse) XXX_Marshal ¶
func (m *GetFeedbackByPassengerIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeedbackByPassengerIDResponse) XXX_Merge ¶
func (m *GetFeedbackByPassengerIDResponse) XXX_Merge(src proto.Message)
func (*GetFeedbackByPassengerIDResponse) XXX_Size ¶
func (m *GetFeedbackByPassengerIDResponse) XXX_Size() int
func (*GetFeedbackByPassengerIDResponse) XXX_Unmarshal ¶
func (m *GetFeedbackByPassengerIDResponse) XXX_Unmarshal(b []byte) error
type PassengerFeedback ¶
type PassengerFeedback struct { BookingCode string `protobuf:"bytes,1,opt,name=bookingCode,proto3" json:"bookingCode,omitempty"` PassengerID int32 `protobuf:"varint,2,opt,name=passengerID,proto3" json:"passengerID,omitempty"` Feedback string `protobuf:"bytes,3,opt,name=feedback,proto3" json:"feedback,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PassengerFeedback) Descriptor ¶
func (*PassengerFeedback) Descriptor() ([]byte, []int)
func (*PassengerFeedback) GetBookingCode ¶
func (m *PassengerFeedback) GetBookingCode() string
func (*PassengerFeedback) GetFeedback ¶
func (m *PassengerFeedback) GetFeedback() string
func (*PassengerFeedback) GetPassengerID ¶
func (m *PassengerFeedback) GetPassengerID() int32
func (*PassengerFeedback) ProtoMessage ¶
func (*PassengerFeedback) ProtoMessage()
func (*PassengerFeedback) Reset ¶
func (m *PassengerFeedback) Reset()
func (*PassengerFeedback) String ¶
func (m *PassengerFeedback) String() string
func (*PassengerFeedback) XXX_DiscardUnknown ¶
func (m *PassengerFeedback) XXX_DiscardUnknown()
func (*PassengerFeedback) XXX_Marshal ¶
func (m *PassengerFeedback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PassengerFeedback) XXX_Merge ¶
func (m *PassengerFeedback) XXX_Merge(src proto.Message)
func (*PassengerFeedback) XXX_Size ¶
func (m *PassengerFeedback) XXX_Size() int
func (*PassengerFeedback) XXX_Unmarshal ¶
func (m *PassengerFeedback) XXX_Unmarshal(b []byte) error
type PassengerFeedbackServiceClient ¶
type PassengerFeedbackServiceClient interface { AddFeedback(ctx context.Context, in *AddFeedbackRequest, opts ...grpc.CallOption) (*AddFeedbackResponse, error) GetFeedbackByPassengerID(ctx context.Context, in *GetFeedbackByPassengerIDRequest, opts ...grpc.CallOption) (*GetFeedbackByPassengerIDResponse, error) GetFeedbackByBookingCode(ctx context.Context, in *GetFeedbackByBookingCodeRequest, opts ...grpc.CallOption) (*GetFeedbackByBookingCodeResponse, error) DeleteFeedbackByPassengerID(ctx context.Context, in *DeleteFeedbackByPassengerIDRequest, opts ...grpc.CallOption) (*DeleteFeedbackByPassengerIDResponse, error) }
PassengerFeedbackServiceClient is the client API for PassengerFeedbackService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPassengerFeedbackServiceClient ¶
func NewPassengerFeedbackServiceClient(cc *grpc.ClientConn) PassengerFeedbackServiceClient
type PassengerFeedbackServiceServer ¶
type PassengerFeedbackServiceServer interface { AddFeedback(context.Context, *AddFeedbackRequest) (*AddFeedbackResponse, error) GetFeedbackByPassengerID(context.Context, *GetFeedbackByPassengerIDRequest) (*GetFeedbackByPassengerIDResponse, error) GetFeedbackByBookingCode(context.Context, *GetFeedbackByBookingCodeRequest) (*GetFeedbackByBookingCodeResponse, error) DeleteFeedbackByPassengerID(context.Context, *DeleteFeedbackByPassengerIDRequest) (*DeleteFeedbackByPassengerIDResponse, error) }
PassengerFeedbackServiceServer is the server API for PassengerFeedbackService service.
type UnimplementedPassengerFeedbackServiceServer ¶
type UnimplementedPassengerFeedbackServiceServer struct { }
UnimplementedPassengerFeedbackServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedPassengerFeedbackServiceServer) AddFeedback ¶
func (*UnimplementedPassengerFeedbackServiceServer) AddFeedback(ctx context.Context, req *AddFeedbackRequest) (*AddFeedbackResponse, error)
func (*UnimplementedPassengerFeedbackServiceServer) DeleteFeedbackByPassengerID ¶
func (*UnimplementedPassengerFeedbackServiceServer) DeleteFeedbackByPassengerID(ctx context.Context, req *DeleteFeedbackByPassengerIDRequest) (*DeleteFeedbackByPassengerIDResponse, error)
func (*UnimplementedPassengerFeedbackServiceServer) GetFeedbackByBookingCode ¶
func (*UnimplementedPassengerFeedbackServiceServer) GetFeedbackByBookingCode(ctx context.Context, req *GetFeedbackByBookingCodeRequest) (*GetFeedbackByBookingCodeResponse, error)
func (*UnimplementedPassengerFeedbackServiceServer) GetFeedbackByPassengerID ¶
func (*UnimplementedPassengerFeedbackServiceServer) GetFeedbackByPassengerID(ctx context.Context, req *GetFeedbackByPassengerIDRequest) (*GetFeedbackByPassengerIDResponse, error)