Documentation ¶
Index ¶
- func RegisterJobHandlerServer(s *grpc.Server, srv JobHandlerServer)
- type Job
- func (*Job) Descriptor() ([]byte, []int)
- func (m *Job) GetCity() int64
- func (m *Job) GetCountry() int64
- func (m *Job) GetDate() *timestamp.Timestamp
- func (m *Job) GetDescription() string
- func (m *Job) GetExperienceLevelId() int64
- func (m *Job) GetFiles() string
- func (m *Job) GetHireManagerId() int64
- func (m *Job) GetID() int64
- func (m *Job) GetJobTypeId() int64
- func (m *Job) GetPaymentAmount() float32
- func (m *Job) GetSpecialityId() int64
- func (m *Job) GetStatus() string
- func (m *Job) GetTitle() string
- func (*Job) ProtoMessage()
- func (m *Job) Reset()
- func (m *Job) String() string
- func (m *Job) XXX_DiscardUnknown()
- func (m *Job) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Job) XXX_Merge(src proto.Message)
- func (m *Job) XXX_Size() int
- func (m *Job) XXX_Unmarshal(b []byte) error
- type JobHandlerClient
- type JobHandlerServer
- type JobID
- func (*JobID) Descriptor() ([]byte, []int)
- func (m *JobID) GetID() int64
- func (*JobID) ProtoMessage()
- func (m *JobID) Reset()
- func (m *JobID) String() string
- func (m *JobID) XXX_DiscardUnknown()
- func (m *JobID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JobID) XXX_Merge(src proto.Message)
- func (m *JobID) XXX_Size() int
- func (m *JobID) XXX_Unmarshal(b []byte) error
- type Jobs
- func (*Jobs) Descriptor() ([]byte, []int)
- func (m *Jobs) GetTags() []string
- func (*Jobs) ProtoMessage()
- func (m *Jobs) Reset()
- func (m *Jobs) String() string
- func (m *Jobs) XXX_DiscardUnknown()
- func (m *Jobs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Jobs) XXX_Merge(src proto.Message)
- func (m *Jobs) XXX_Size() int
- func (m *Jobs) XXX_Unmarshal(b []byte) error
- 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 UnimplementedJobHandlerServer
- type UserID
- func (*UserID) Descriptor() ([]byte, []int)
- func (m *UserID) GetID() int64
- func (*UserID) ProtoMessage()
- func (m *UserID) Reset()
- func (m *UserID) String() string
- func (m *UserID) XXX_DiscardUnknown()
- func (m *UserID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserID) XXX_Merge(src proto.Message)
- func (m *UserID) XXX_Size() int
- func (m *UserID) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterJobHandlerServer ¶
func RegisterJobHandlerServer(s *grpc.Server, srv JobHandlerServer)
Types ¶
type Job ¶
type Job struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` HireManagerId int64 `protobuf:"varint,2,opt,name=HireManagerId,proto3" json:"HireManagerId,omitempty"` Title string `protobuf:"bytes,3,opt,name=Title,proto3" json:"Title,omitempty"` Description string `protobuf:"bytes,4,opt,name=Description,proto3" json:"Description,omitempty"` Files string `protobuf:"bytes,5,opt,name=Files,proto3" json:"Files,omitempty"` SpecialityId int64 `protobuf:"varint,6,opt,name=SpecialityId,proto3" json:"SpecialityId,omitempty"` ExperienceLevelId int64 `protobuf:"varint,7,opt,name=ExperienceLevelId,proto3" json:"ExperienceLevelId,omitempty"` PaymentAmount float32 `protobuf:"fixed32,8,opt,name=PaymentAmount,proto3" json:"PaymentAmount,omitempty"` Country int64 `protobuf:"varint,9,opt,name=Country,proto3" json:"Country,omitempty"` City int64 `protobuf:"varint,10,opt,name=City,proto3" json:"City,omitempty"` JobTypeId int64 `protobuf:"varint,11,opt,name=JobTypeId,proto3" json:"JobTypeId,omitempty"` Date *timestamp.Timestamp `protobuf:"bytes,12,opt,name=Date,proto3" json:"Date,omitempty"` Status string `protobuf:"bytes,13,opt,name=Status,proto3" json:"Status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Job) Descriptor ¶
func (*Job) GetCountry ¶
func (*Job) GetDescription ¶
func (*Job) GetExperienceLevelId ¶
func (*Job) GetHireManagerId ¶
func (*Job) GetJobTypeId ¶
func (*Job) GetPaymentAmount ¶
func (*Job) GetSpecialityId ¶
func (*Job) ProtoMessage ¶
func (*Job) ProtoMessage()
func (*Job) XXX_DiscardUnknown ¶
func (m *Job) XXX_DiscardUnknown()
func (*Job) XXX_Unmarshal ¶
type JobHandlerClient ¶
type JobHandlerClient interface { Find(ctx context.Context, in *JobID, opts ...grpc.CallOption) (*Job, error) GetUserIDFromJobID(ctx context.Context, in *JobID, opts ...grpc.CallOption) (*UserID, error) GetTags(ctx context.Context, in *Nothing, opts ...grpc.CallOption) (*Jobs, error) }
JobHandlerClient is the client API for JobHandler service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewJobHandlerClient ¶
func NewJobHandlerClient(cc *grpc.ClientConn) JobHandlerClient
type JobHandlerServer ¶
type JobHandlerServer interface { Find(context.Context, *JobID) (*Job, error) GetUserIDFromJobID(context.Context, *JobID) (*UserID, error) GetTags(context.Context, *Nothing) (*Jobs, error) }
JobHandlerServer is the server API for JobHandler service.
type JobID ¶
type JobID 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 (*JobID) Descriptor ¶
func (*JobID) ProtoMessage ¶
func (*JobID) ProtoMessage()
func (*JobID) XXX_DiscardUnknown ¶
func (m *JobID) XXX_DiscardUnknown()
func (*JobID) XXX_Marshal ¶
func (*JobID) XXX_Unmarshal ¶
type Jobs ¶
type Jobs struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Jobs) Descriptor ¶
func (*Jobs) ProtoMessage ¶
func (*Jobs) ProtoMessage()
func (*Jobs) XXX_DiscardUnknown ¶
func (m *Jobs) XXX_DiscardUnknown()
func (*Jobs) XXX_Unmarshal ¶
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 UnimplementedJobHandlerServer ¶
type UnimplementedJobHandlerServer struct { }
UnimplementedJobHandlerServer can be embedded to have forward compatible implementations.
func (*UnimplementedJobHandlerServer) GetUserIDFromJobID ¶
type UserID ¶
type UserID 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 (*UserID) Descriptor ¶
func (*UserID) ProtoMessage ¶
func (*UserID) ProtoMessage()
func (*UserID) XXX_DiscardUnknown ¶
func (m *UserID) XXX_DiscardUnknown()
func (*UserID) XXX_Marshal ¶
func (*UserID) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.