response_grpc

package
v0.0.0-...-945c817 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Nothing) GetDummy

func (m *Nothing) GetDummy() bool

func (*Nothing) ProtoMessage

func (*Nothing) ProtoMessage()

func (*Nothing) Reset

func (m *Nothing) Reset()

func (*Nothing) String

func (m *Nothing) String() string

func (*Nothing) XXX_DiscardUnknown

func (m *Nothing) XXX_DiscardUnknown()

func (*Nothing) XXX_Marshal

func (m *Nothing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Nothing) XXX_Merge

func (m *Nothing) XXX_Merge(src proto.Message)

func (*Nothing) XXX_Size

func (m *Nothing) XXX_Size() int

func (*Nothing) XXX_Unmarshal

func (m *Nothing) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Response) GetDate

func (m *Response) GetDate() *timestamp.Timestamp

func (*Response) GetFiles

func (m *Response) GetFiles() string

func (*Response) GetFreelancerId

func (m *Response) GetFreelancerId() int64

func (*Response) GetID

func (m *Response) GetID() int64

func (*Response) GetJobId

func (m *Response) GetJobId() int64

func (*Response) GetPaymentAmount

func (m *Response) GetPaymentAmount() float32

func (*Response) GetStatusFreelancer

func (m *Response) GetStatusFreelancer() string

func (*Response) GetStatusManager

func (m *Response) GetStatusManager() string

func (*Response) GetTimeEstimation

func (m *Response) GetTimeEstimation() int32

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Response) XXX_Merge

func (m *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

func (m *Response) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Status) GetName

func (m *Status) GetName() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

type UnimplementedResponseHandlerServer

type UnimplementedResponseHandlerServer struct {
}

UnimplementedResponseHandlerServer can be embedded to have forward compatible implementations.

func (*UnimplementedResponseHandlerServer) Find

func (*UnimplementedResponseHandlerServer) Update

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL