Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterNotificationServiceServer(s grpc.ServiceRegistrar, srv NotificationServiceServer)
- type EmployerNotyResp
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetCandidateName() string
- func (x *Notification) GetCanditateUrl() string
- func (x *Notification) GetEmployeeUuid() string
- func (x *Notification) GetEmployerUuid() string
- func (x *Notification) GetIsReaded() bool
- func (x *Notification) GetNoteUuid() string
- func (x *Notification) GetVacancyUuid() string
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type NotificationServiceClient
- type NotificationServiceServer
- type Notifications
- type NotifyReq
- type UnimplementedNotificationServiceServer
- type UnsafeNotificationServiceServer
- type VacancyNotyReq
Constants ¶
const ( NotificationService_GetAllAppliedCandidatesByNoty_FullMethodName = "/service.NotificationService/GetAllAppliedCandidatesByNoty" NotificationService_GetEmployerByVac_FullMethodName = "/service.NotificationService/GetEmployerByVac" )
Variables ¶
var File_notify_models_proto protoreflect.FileDescriptor
var File_notify_service_proto protoreflect.FileDescriptor
var NotificationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service.NotificationService", HandlerType: (*NotificationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAllAppliedCandidatesByNoty", Handler: _NotificationService_GetAllAppliedCandidatesByNoty_Handler, }, { MethodName: "GetEmployerByVac", Handler: _NotificationService_GetEmployerByVac_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "notify-service.proto", }
NotificationService_ServiceDesc is the grpc.ServiceDesc for NotificationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNotificationServiceServer ¶
func RegisterNotificationServiceServer(s grpc.ServiceRegistrar, srv NotificationServiceServer)
Types ¶
type EmployerNotyResp ¶ added in v0.0.10
type EmployerNotyResp struct { EmployerUuid string `protobuf:"bytes,1,opt,name=employer_uuid,json=employerUuid,proto3" json:"employer_uuid,omitempty"` // contains filtered or unexported fields }
func (*EmployerNotyResp) Descriptor
deprecated
added in
v0.0.10
func (*EmployerNotyResp) Descriptor() ([]byte, []int)
Deprecated: Use EmployerNotyResp.ProtoReflect.Descriptor instead.
func (*EmployerNotyResp) GetEmployerUuid ¶ added in v0.0.10
func (x *EmployerNotyResp) GetEmployerUuid() string
func (*EmployerNotyResp) ProtoMessage ¶ added in v0.0.10
func (*EmployerNotyResp) ProtoMessage()
func (*EmployerNotyResp) ProtoReflect ¶ added in v0.0.10
func (x *EmployerNotyResp) ProtoReflect() protoreflect.Message
func (*EmployerNotyResp) Reset ¶ added in v0.0.10
func (x *EmployerNotyResp) Reset()
func (*EmployerNotyResp) String ¶ added in v0.0.10
func (x *EmployerNotyResp) String() string
type Notification ¶
type Notification struct { NoteUuid string `protobuf:"bytes,1,opt,name=note_uuid,json=noteUuid,proto3" json:"note_uuid,omitempty"` CandidateName string `protobuf:"bytes,2,opt,name=candidate_name,json=candidateName,proto3" json:"candidate_name,omitempty"` CanditateUrl string `protobuf:"bytes,3,opt,name=canditate_url,json=canditateUrl,proto3" json:"canditate_url,omitempty"` EmployeeUuid string `protobuf:"bytes,4,opt,name=employee_uuid,json=employeeUuid,proto3" json:"employee_uuid,omitempty"` VacancyUuid string `protobuf:"bytes,5,opt,name=vacancy_uuid,json=vacancyUuid,proto3" json:"vacancy_uuid,omitempty"` EmployerUuid string `protobuf:"bytes,6,opt,name=employer_uuid,json=employerUuid,proto3" json:"employer_uuid,omitempty"` IsReaded bool `protobuf:"varint,7,opt,name=is_readed,json=isReaded,proto3" json:"is_readed,omitempty"` // contains filtered or unexported fields }
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetCandidateName ¶
func (x *Notification) GetCandidateName() string
func (*Notification) GetCanditateUrl ¶
func (x *Notification) GetCanditateUrl() string
func (*Notification) GetEmployeeUuid ¶ added in v0.0.6
func (x *Notification) GetEmployeeUuid() string
func (*Notification) GetEmployerUuid ¶ added in v0.0.6
func (x *Notification) GetEmployerUuid() string
func (*Notification) GetIsReaded ¶
func (x *Notification) GetIsReaded() bool
func (*Notification) GetNoteUuid ¶
func (x *Notification) GetNoteUuid() string
func (*Notification) GetVacancyUuid ¶
func (x *Notification) GetVacancyUuid() string
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶
func (x *Notification) Reset()
func (*Notification) String ¶
func (x *Notification) String() string
type NotificationServiceClient ¶
type NotificationServiceClient interface { GetAllAppliedCandidatesByNoty(ctx context.Context, in *NotifyReq, opts ...grpc.CallOption) (*Notifications, error) GetEmployerByVac(ctx context.Context, in *VacancyNotyReq, opts ...grpc.CallOption) (*EmployerNotyResp, error) }
NotificationServiceClient is the client API for NotificationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkgo.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
ResumeService is
func NewNotificationServiceClient ¶
func NewNotificationServiceClient(cc grpc.ClientConnInterface) NotificationServiceClient
type NotificationServiceServer ¶
type NotificationServiceServer interface { GetAllAppliedCandidatesByNoty(context.Context, *NotifyReq) (*Notifications, error) GetEmployerByVac(context.Context, *VacancyNotyReq) (*EmployerNotyResp, error) // contains filtered or unexported methods }
NotificationServiceServer is the server API for NotificationService service. All implementations must embed UnimplementedNotificationServiceServer for forward compatibility.
ResumeService is
type Notifications ¶
type Notifications struct { Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*Notifications) Descriptor
deprecated
func (*Notifications) Descriptor() ([]byte, []int)
Deprecated: Use Notifications.ProtoReflect.Descriptor instead.
func (*Notifications) GetNotifications ¶
func (x *Notifications) GetNotifications() []*Notification
func (*Notifications) ProtoMessage ¶
func (*Notifications) ProtoMessage()
func (*Notifications) ProtoReflect ¶
func (x *Notifications) ProtoReflect() protoreflect.Message
func (*Notifications) Reset ¶
func (x *Notifications) Reset()
func (*Notifications) String ¶
func (x *Notifications) String() string
type NotifyReq ¶ added in v0.0.3
type NotifyReq struct { VacancyUuid string `protobuf:"bytes,1,opt,name=vacancy_uuid,json=vacancyUuid,proto3" json:"vacancy_uuid,omitempty"` // contains filtered or unexported fields }
func (*NotifyReq) Descriptor
deprecated
added in
v0.0.3
func (*NotifyReq) GetVacancyUuid ¶ added in v0.0.13
func (*NotifyReq) ProtoMessage ¶ added in v0.0.3
func (*NotifyReq) ProtoMessage()
func (*NotifyReq) ProtoReflect ¶ added in v0.0.3
func (x *NotifyReq) ProtoReflect() protoreflect.Message
type UnimplementedNotificationServiceServer ¶
type UnimplementedNotificationServiceServer struct{}
UnimplementedNotificationServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNotificationServiceServer) GetAllAppliedCandidatesByNoty ¶ added in v0.0.3
func (UnimplementedNotificationServiceServer) GetAllAppliedCandidatesByNoty(context.Context, *NotifyReq) (*Notifications, error)
func (UnimplementedNotificationServiceServer) GetEmployerByVac ¶ added in v0.0.8
func (UnimplementedNotificationServiceServer) GetEmployerByVac(context.Context, *VacancyNotyReq) (*EmployerNotyResp, error)
type UnsafeNotificationServiceServer ¶
type UnsafeNotificationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNotificationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotificationServiceServer will result in compilation errors.
type VacancyNotyReq ¶ added in v0.0.10
type VacancyNotyReq struct { VacancyUuid string `protobuf:"bytes,1,opt,name=vacancy_uuid,json=vacancyUuid,proto3" json:"vacancy_uuid,omitempty"` // contains filtered or unexported fields }
func (*VacancyNotyReq) Descriptor
deprecated
added in
v0.0.10
func (*VacancyNotyReq) Descriptor() ([]byte, []int)
Deprecated: Use VacancyNotyReq.ProtoReflect.Descriptor instead.
func (*VacancyNotyReq) GetVacancyUuid ¶ added in v0.0.10
func (x *VacancyNotyReq) GetVacancyUuid() string
func (*VacancyNotyReq) ProtoMessage ¶ added in v0.0.10
func (*VacancyNotyReq) ProtoMessage()
func (*VacancyNotyReq) ProtoReflect ¶ added in v0.0.10
func (x *VacancyNotyReq) ProtoReflect() protoreflect.Message
func (*VacancyNotyReq) Reset ¶ added in v0.0.10
func (x *VacancyNotyReq) Reset()
func (*VacancyNotyReq) String ¶ added in v0.0.10
func (x *VacancyNotyReq) String() string