Documentation
¶
Index ¶
- func RegisterResponseHandlerServer(s *grpc.Server, srv ResponseHandlerServer)
- type Nothing
- func (*Nothing) Descriptor() ([]byte, []int)
- func (m *Nothing) GetDummy() bool
- func (*Nothing) ProtoMessage()
- func (m *Nothing) Reset()
- func (m *Nothing) String() string
- func (m *Nothing) XXX_DiscardUnknown()
- func (m *Nothing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Nothing) XXX_Merge(src proto.Message)
- func (m *Nothing) XXX_Size() int
- func (m *Nothing) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetDate() *timestamp.Timestamp
- func (m *Response) GetFiles() string
- func (m *Response) GetFreelancerId() int64
- func (m *Response) GetID() int64
- func (m *Response) GetJobId() int64
- func (m *Response) GetPaymentAmount() float32
- func (m *Response) GetStatusFreelancer() string
- func (m *Response) GetStatusManager() string
- func (m *Response) GetTimeEstimation() int32
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type ResponseHandlerClient
- type ResponseHandlerServer
- type ResponseID
- func (*ResponseID) Descriptor() ([]byte, []int)
- func (m *ResponseID) GetID() int64
- func (*ResponseID) ProtoMessage()
- func (m *ResponseID) Reset()
- func (m *ResponseID) String() string
- func (m *ResponseID) XXX_DiscardUnknown()
- func (m *ResponseID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseID) XXX_Merge(src proto.Message)
- func (m *ResponseID) XXX_Size() int
- func (m *ResponseID) XXX_Unmarshal(b []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetName() string
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) String() string
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type UnimplementedResponseHandlerServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterResponseHandlerServer ¶
func RegisterResponseHandlerServer(s *grpc.Server, srv ResponseHandlerServer)
Types ¶
type Nothing ¶
type Nothing struct { Dummy bool `protobuf:"varint,1,opt,name=dummy,proto3" json:"dummy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Nothing) Descriptor ¶
func (*Nothing) ProtoMessage ¶
func (*Nothing) ProtoMessage()
func (*Nothing) XXX_DiscardUnknown ¶
func (m *Nothing) XXX_DiscardUnknown()
func (*Nothing) XXX_Marshal ¶
func (*Nothing) XXX_Unmarshal ¶
type Response ¶
type Response struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` FreelancerId int64 `protobuf:"varint,2,opt,name=FreelancerId,proto3" json:"FreelancerId,omitempty"` JobId int64 `protobuf:"varint,3,opt,name=JobId,proto3" json:"JobId,omitempty"` Files string `protobuf:"bytes,4,opt,name=Files,proto3" json:"Files,omitempty"` Date *timestamp.Timestamp `protobuf:"bytes,5,opt,name=Date,proto3" json:"Date,omitempty"` StatusManager string `protobuf:"bytes,6,opt,name=StatusManager,proto3" json:"StatusManager,omitempty"` StatusFreelancer string `protobuf:"bytes,7,opt,name=StatusFreelancer,proto3" json:"StatusFreelancer,omitempty"` PaymentAmount float32 `protobuf:"fixed32,8,opt,name=PaymentAmount,proto3" json:"PaymentAmount,omitempty"` TimeEstimation int32 `protobuf:"varint,9,opt,name=TimeEstimation,proto3" json:"TimeEstimation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) GetFreelancerId ¶
func (*Response) GetPaymentAmount ¶
func (*Response) GetStatusFreelancer ¶
func (*Response) GetStatusManager ¶
func (*Response) GetTimeEstimation ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type ResponseHandlerClient ¶
type ResponseHandlerClient interface { Find(ctx context.Context, in *ResponseID, opts ...grpc.CallOption) (*Response, error) Update(ctx context.Context, in *Response, opts ...grpc.CallOption) (*Nothing, error) }
ResponseHandlerClient is the client API for ResponseHandler service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewResponseHandlerClient ¶
func NewResponseHandlerClient(cc *grpc.ClientConn) ResponseHandlerClient
type ResponseHandlerServer ¶
type ResponseHandlerServer interface { Find(context.Context, *ResponseID) (*Response, error) Update(context.Context, *Response) (*Nothing, error) }
ResponseHandlerServer is the server API for ResponseHandler service.
type ResponseID ¶
type ResponseID struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResponseID) Descriptor ¶
func (*ResponseID) Descriptor() ([]byte, []int)
func (*ResponseID) GetID ¶
func (m *ResponseID) GetID() int64
func (*ResponseID) ProtoMessage ¶
func (*ResponseID) ProtoMessage()
func (*ResponseID) Reset ¶
func (m *ResponseID) Reset()
func (*ResponseID) String ¶
func (m *ResponseID) String() string
func (*ResponseID) XXX_DiscardUnknown ¶
func (m *ResponseID) XXX_DiscardUnknown()
func (*ResponseID) XXX_Marshal ¶
func (m *ResponseID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseID) XXX_Merge ¶
func (m *ResponseID) XXX_Merge(src proto.Message)
func (*ResponseID) XXX_Size ¶
func (m *ResponseID) XXX_Size() int
func (*ResponseID) XXX_Unmarshal ¶
func (m *ResponseID) XXX_Unmarshal(b []byte) error
type Status ¶
type Status struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Status) Descriptor ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
type UnimplementedResponseHandlerServer ¶
type UnimplementedResponseHandlerServer struct { }
UnimplementedResponseHandlerServer can be embedded to have forward compatible implementations.
func (*UnimplementedResponseHandlerServer) Find ¶
func (*UnimplementedResponseHandlerServer) Find(ctx context.Context, req *ResponseID) (*Response, error)
Click to show internal directories.
Click to hide internal directories.