service

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmployerNotificationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protos.service.EmployerNotificationService",
	HandlerType: (*EmployerNotificationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NotifyInvitation",
			Handler:    _EmployerNotificationService_NotifyInvitation_Handler,
		},
		{
			MethodName: "NotifyApplicantCount",
			Handler:    _EmployerNotificationService_NotifyApplicantCount_Handler,
		},
		{
			MethodName: "NotifyInterviewSchedule",
			Handler:    _EmployerNotificationService_NotifyInterviewSchedule_Handler,
		},
		{
			MethodName: "NotifyInterviewScheduleDeclined",
			Handler:    _EmployerNotificationService_NotifyInterviewScheduleDeclined_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "protos/service/employer_notification_service.grpc.proto",
}

EmployerNotificationService_ServiceDesc is the grpc.ServiceDesc for EmployerNotificationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_protos_service_employer_notification_service_grpc_proto protoreflect.FileDescriptor
View Source
var File_protos_service_jobposting_notification_service_grpc_proto protoreflect.FileDescriptor
View Source
var File_protos_service_jobseeker_notification_service_grpc_proto protoreflect.FileDescriptor
View Source
var JobPostingNotificationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protos.service.JobPostingNotificationService",
	HandlerType: (*JobPostingNotificationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CloseJob",
			Handler:    _JobPostingNotificationService_CloseJob_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "protos/service/jobposting_notification_service.grpc.proto",
}

JobPostingNotificationService_ServiceDesc is the grpc.ServiceDesc for JobPostingNotificationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var JobseekerNotificationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protos.service.JobseekerNotificationService",
	HandlerType: (*JobseekerNotificationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NotifyInvitation",
			Handler:    _JobseekerNotificationService_NotifyInvitation_Handler,
		},
		{
			MethodName: "NotifyApplicationStatusChange",
			Handler:    _JobseekerNotificationService_NotifyApplicationStatusChange_Handler,
		},
		{
			MethodName: "NotifyInterviewSchedule",
			Handler:    _JobseekerNotificationService_NotifyInterviewSchedule_Handler,
		},
		{
			MethodName: "NotifyInterviewScheduleUpdated",
			Handler:    _JobseekerNotificationService_NotifyInterviewScheduleUpdated_Handler,
		},
		{
			MethodName: "NotifyInterviewScheduleDeleted",
			Handler:    _JobseekerNotificationService_NotifyInterviewScheduleDeleted_Handler,
		},
		{
			MethodName: "NotifyDailyJobAlert",
			Handler:    _JobseekerNotificationService_NotifyDailyJobAlert_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "protos/service/jobseeker_notification_service.grpc.proto",
}

JobseekerNotificationService_ServiceDesc is the grpc.ServiceDesc for JobseekerNotificationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterEmployerNotificationServiceServer

func RegisterEmployerNotificationServiceServer(s grpc.ServiceRegistrar, srv EmployerNotificationServiceServer)

func RegisterJobPostingNotificationServiceServer

func RegisterJobPostingNotificationServiceServer(s grpc.ServiceRegistrar, srv JobPostingNotificationServiceServer)

func RegisterJobseekerNotificationServiceServer

func RegisterJobseekerNotificationServiceServer(s grpc.ServiceRegistrar, srv JobseekerNotificationServiceServer)

Types

type CloseJobRequest

type CloseJobRequest struct {
	JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CloseJobRequest) Descriptor deprecated

func (*CloseJobRequest) Descriptor() ([]byte, []int)

Deprecated: Use CloseJobRequest.ProtoReflect.Descriptor instead.

func (*CloseJobRequest) GetJobId

func (x *CloseJobRequest) GetJobId() string

func (*CloseJobRequest) ProtoMessage

func (*CloseJobRequest) ProtoMessage()

func (*CloseJobRequest) ProtoReflect

func (x *CloseJobRequest) ProtoReflect() protoreflect.Message

func (*CloseJobRequest) Reset

func (x *CloseJobRequest) Reset()

func (*CloseJobRequest) String

func (x *CloseJobRequest) String() string

type CloseJobResponse

type CloseJobResponse struct {
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*CloseJobResponse) Descriptor deprecated

func (*CloseJobResponse) Descriptor() ([]byte, []int)

Deprecated: Use CloseJobResponse.ProtoReflect.Descriptor instead.

func (*CloseJobResponse) GetStatus

func (x *CloseJobResponse) GetStatus() bool

func (*CloseJobResponse) ProtoMessage

func (*CloseJobResponse) ProtoMessage()

func (*CloseJobResponse) ProtoReflect

func (x *CloseJobResponse) ProtoReflect() protoreflect.Message

func (*CloseJobResponse) Reset

func (x *CloseJobResponse) Reset()

func (*CloseJobResponse) String

func (x *CloseJobResponse) String() string

type EmployerNotificationServiceClient

type EmployerNotificationServiceClient interface {
	NotifyInvitation(ctx context.Context, in *domain.InvitationResponse, opts ...grpc.CallOption) (*NotifyEmployerInvitationResponse, error)
	NotifyApplicantCount(ctx context.Context, in *domain.ApplicantCount, opts ...grpc.CallOption) (*NotifyApplicantCountResponse, error)
	NotifyInterviewSchedule(ctx context.Context, in *domain.EmployerInterviewSchedule, opts ...grpc.CallOption) (*NotifyEmployerInterviewScheduleResponse, error)
	NotifyInterviewScheduleDeclined(ctx context.Context, in *domain.EmployerInterviewScheduleDeclined, opts ...grpc.CallOption) (*NotifyEmployerInterviewScheduleResponse, error)
}

EmployerNotificationServiceClient is the client API for EmployerNotificationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type EmployerNotificationServiceServer

type EmployerNotificationServiceServer interface {
	NotifyInvitation(context.Context, *domain.InvitationResponse) (*NotifyEmployerInvitationResponse, error)
	NotifyApplicantCount(context.Context, *domain.ApplicantCount) (*NotifyApplicantCountResponse, error)
	NotifyInterviewSchedule(context.Context, *domain.EmployerInterviewSchedule) (*NotifyEmployerInterviewScheduleResponse, error)
	NotifyInterviewScheduleDeclined(context.Context, *domain.EmployerInterviewScheduleDeclined) (*NotifyEmployerInterviewScheduleResponse, error)
	// contains filtered or unexported methods
}

EmployerNotificationServiceServer is the server API for EmployerNotificationService service. All implementations must embed UnimplementedEmployerNotificationServiceServer for forward compatibility

type JobPostingNotificationServiceClient

type JobPostingNotificationServiceClient interface {
	CloseJob(ctx context.Context, in *CloseJobRequest, opts ...grpc.CallOption) (*CloseJobResponse, error)
}

JobPostingNotificationServiceClient is the client API for JobPostingNotificationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type JobPostingNotificationServiceServer

type JobPostingNotificationServiceServer interface {
	CloseJob(context.Context, *CloseJobRequest) (*CloseJobResponse, error)
	// contains filtered or unexported methods
}

JobPostingNotificationServiceServer is the server API for JobPostingNotificationService service. All implementations must embed UnimplementedJobPostingNotificationServiceServer for forward compatibility

type JobseekerNotificationServiceClient

JobseekerNotificationServiceClient is the client API for JobseekerNotificationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type JobseekerNotificationServiceServer

JobseekerNotificationServiceServer is the server API for JobseekerNotificationService service. All implementations must embed UnimplementedJobseekerNotificationServiceServer for forward compatibility

type NotifyApplicantCountResponse

type NotifyApplicantCountResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyApplicantCountResponse) Descriptor deprecated

func (*NotifyApplicantCountResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotifyApplicantCountResponse.ProtoReflect.Descriptor instead.

func (*NotifyApplicantCountResponse) GetId

func (*NotifyApplicantCountResponse) ProtoMessage

func (*NotifyApplicantCountResponse) ProtoMessage()

func (*NotifyApplicantCountResponse) ProtoReflect

func (*NotifyApplicantCountResponse) Reset

func (x *NotifyApplicantCountResponse) Reset()

func (*NotifyApplicantCountResponse) String

type NotifyApplicationStatusChangeRequest added in v1.0.2

type NotifyApplicationStatusChangeRequest struct {
	ApplicationStatusChanges []*domain.ApplicationStatusChange `protobuf:"bytes,1,rep,name=applicationStatusChanges,proto3" json:"applicationStatusChanges,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyApplicationStatusChangeRequest) Descriptor deprecated added in v1.0.2

func (*NotifyApplicationStatusChangeRequest) Descriptor() ([]byte, []int)

Deprecated: Use NotifyApplicationStatusChangeRequest.ProtoReflect.Descriptor instead.

func (*NotifyApplicationStatusChangeRequest) GetApplicationStatusChanges added in v1.0.2

func (x *NotifyApplicationStatusChangeRequest) GetApplicationStatusChanges() []*domain.ApplicationStatusChange

func (*NotifyApplicationStatusChangeRequest) ProtoMessage added in v1.0.2

func (*NotifyApplicationStatusChangeRequest) ProtoMessage()

func (*NotifyApplicationStatusChangeRequest) ProtoReflect added in v1.0.2

func (*NotifyApplicationStatusChangeRequest) Reset added in v1.0.2

func (*NotifyApplicationStatusChangeRequest) String added in v1.0.2

type NotifyApplicationStatusChangeResponse

type NotifyApplicationStatusChangeResponse struct {
	StatusId int32  `protobuf:"varint,1,opt,name=statusId,proto3" json:"statusId,omitempty"`
	Status   string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyApplicationStatusChangeResponse) Descriptor deprecated

func (*NotifyApplicationStatusChangeResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotifyApplicationStatusChangeResponse.ProtoReflect.Descriptor instead.

func (*NotifyApplicationStatusChangeResponse) GetStatus added in v1.0.2

func (*NotifyApplicationStatusChangeResponse) GetStatusId added in v1.0.2

func (*NotifyApplicationStatusChangeResponse) ProtoMessage

func (*NotifyApplicationStatusChangeResponse) ProtoMessage()

func (*NotifyApplicationStatusChangeResponse) ProtoReflect

func (*NotifyApplicationStatusChangeResponse) Reset

func (*NotifyApplicationStatusChangeResponse) String

type NotifyDailyJobAlertRequest added in v1.0.5

type NotifyDailyJobAlertRequest struct {
	DailyJobAlertNotifications []*domain.DailyJobAlertNotification `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NotifyDailyJobAlertRequest) Descriptor deprecated added in v1.0.5

func (*NotifyDailyJobAlertRequest) Descriptor() ([]byte, []int)

Deprecated: Use NotifyDailyJobAlertRequest.ProtoReflect.Descriptor instead.

func (*NotifyDailyJobAlertRequest) GetDailyJobAlertNotifications added in v1.0.5

func (x *NotifyDailyJobAlertRequest) GetDailyJobAlertNotifications() []*domain.DailyJobAlertNotification

func (*NotifyDailyJobAlertRequest) ProtoMessage added in v1.0.5

func (*NotifyDailyJobAlertRequest) ProtoMessage()

func (*NotifyDailyJobAlertRequest) ProtoReflect added in v1.0.5

func (*NotifyDailyJobAlertRequest) Reset added in v1.0.5

func (x *NotifyDailyJobAlertRequest) Reset()

func (*NotifyDailyJobAlertRequest) String added in v1.0.5

func (x *NotifyDailyJobAlertRequest) String() string

type NotifyDailyJobAlertResponse added in v1.0.5

type NotifyDailyJobAlertResponse struct {
	StatusId int32  `protobuf:"varint,1,opt,name=statusId,proto3" json:"statusId,omitempty"`
	Status   string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyDailyJobAlertResponse) Descriptor deprecated added in v1.0.5

func (*NotifyDailyJobAlertResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotifyDailyJobAlertResponse.ProtoReflect.Descriptor instead.

func (*NotifyDailyJobAlertResponse) GetStatus added in v1.0.5

func (x *NotifyDailyJobAlertResponse) GetStatus() string

func (*NotifyDailyJobAlertResponse) GetStatusId added in v1.0.5

func (x *NotifyDailyJobAlertResponse) GetStatusId() int32

func (*NotifyDailyJobAlertResponse) ProtoMessage added in v1.0.5

func (*NotifyDailyJobAlertResponse) ProtoMessage()

func (*NotifyDailyJobAlertResponse) ProtoReflect added in v1.0.5

func (*NotifyDailyJobAlertResponse) Reset added in v1.0.5

func (x *NotifyDailyJobAlertResponse) Reset()

func (*NotifyDailyJobAlertResponse) String added in v1.0.5

func (x *NotifyDailyJobAlertResponse) String() string

type NotifyEmployerInterviewScheduleResponse added in v1.0.3

type NotifyEmployerInterviewScheduleResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyEmployerInterviewScheduleResponse) Descriptor deprecated added in v1.0.3

func (*NotifyEmployerInterviewScheduleResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotifyEmployerInterviewScheduleResponse.ProtoReflect.Descriptor instead.

func (*NotifyEmployerInterviewScheduleResponse) GetId added in v1.0.3

func (*NotifyEmployerInterviewScheduleResponse) ProtoMessage added in v1.0.3

func (*NotifyEmployerInterviewScheduleResponse) ProtoReflect added in v1.0.3

func (*NotifyEmployerInterviewScheduleResponse) Reset added in v1.0.3

func (*NotifyEmployerInterviewScheduleResponse) String added in v1.0.3

type NotifyEmployerInvitationResponse

type NotifyEmployerInvitationResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyEmployerInvitationResponse) Descriptor deprecated

func (*NotifyEmployerInvitationResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotifyEmployerInvitationResponse.ProtoReflect.Descriptor instead.

func (*NotifyEmployerInvitationResponse) GetId

func (*NotifyEmployerInvitationResponse) ProtoMessage

func (*NotifyEmployerInvitationResponse) ProtoMessage()

func (*NotifyEmployerInvitationResponse) ProtoReflect

func (*NotifyEmployerInvitationResponse) Reset

func (*NotifyEmployerInvitationResponse) String

type NotifyInterviewScheduleDeletedRequest added in v1.0.5

type NotifyInterviewScheduleDeletedRequest struct {
	JobseekerInterviewSchedules []*domain.JobseekerInterviewSchedule `protobuf:"bytes,1,rep,name=jobseekerInterviewSchedules,proto3" json:"jobseekerInterviewSchedules,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyInterviewScheduleDeletedRequest) Descriptor deprecated added in v1.0.5

func (*NotifyInterviewScheduleDeletedRequest) Descriptor() ([]byte, []int)

Deprecated: Use NotifyInterviewScheduleDeletedRequest.ProtoReflect.Descriptor instead.

func (*NotifyInterviewScheduleDeletedRequest) GetJobseekerInterviewSchedules added in v1.0.5

func (x *NotifyInterviewScheduleDeletedRequest) GetJobseekerInterviewSchedules() []*domain.JobseekerInterviewSchedule

func (*NotifyInterviewScheduleDeletedRequest) ProtoMessage added in v1.0.5

func (*NotifyInterviewScheduleDeletedRequest) ProtoMessage()

func (*NotifyInterviewScheduleDeletedRequest) ProtoReflect added in v1.0.5

func (*NotifyInterviewScheduleDeletedRequest) Reset added in v1.0.5

func (*NotifyInterviewScheduleDeletedRequest) String added in v1.0.5

type NotifyInterviewScheduleDeletedResponse added in v1.0.5

type NotifyInterviewScheduleDeletedResponse struct {
	StatusId int32  `protobuf:"varint,1,opt,name=statusId,proto3" json:"statusId,omitempty"`
	Status   string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyInterviewScheduleDeletedResponse) Descriptor deprecated added in v1.0.5

func (*NotifyInterviewScheduleDeletedResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotifyInterviewScheduleDeletedResponse.ProtoReflect.Descriptor instead.

func (*NotifyInterviewScheduleDeletedResponse) GetStatus added in v1.0.5

func (*NotifyInterviewScheduleDeletedResponse) GetStatusId added in v1.0.5

func (*NotifyInterviewScheduleDeletedResponse) ProtoMessage added in v1.0.5

func (*NotifyInterviewScheduleDeletedResponse) ProtoReflect added in v1.0.5

func (*NotifyInterviewScheduleDeletedResponse) Reset added in v1.0.5

func (*NotifyInterviewScheduleDeletedResponse) String added in v1.0.5

type NotifyJobseekerInterviewScheduleResponse added in v1.0.3

type NotifyJobseekerInterviewScheduleResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyJobseekerInterviewScheduleResponse) Descriptor deprecated added in v1.0.3

func (*NotifyJobseekerInterviewScheduleResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotifyJobseekerInterviewScheduleResponse.ProtoReflect.Descriptor instead.

func (*NotifyJobseekerInterviewScheduleResponse) GetId added in v1.0.3

func (*NotifyJobseekerInterviewScheduleResponse) ProtoMessage added in v1.0.3

func (*NotifyJobseekerInterviewScheduleResponse) ProtoReflect added in v1.0.3

func (*NotifyJobseekerInterviewScheduleResponse) Reset added in v1.0.3

func (*NotifyJobseekerInterviewScheduleResponse) String added in v1.0.3

type NotifyJobseekerInvitationResponse

type NotifyJobseekerInvitationResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyJobseekerInvitationResponse) Descriptor deprecated

func (*NotifyJobseekerInvitationResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotifyJobseekerInvitationResponse.ProtoReflect.Descriptor instead.

func (*NotifyJobseekerInvitationResponse) GetId

func (*NotifyJobseekerInvitationResponse) ProtoMessage

func (*NotifyJobseekerInvitationResponse) ProtoMessage()

func (*NotifyJobseekerInvitationResponse) ProtoReflect

func (*NotifyJobseekerInvitationResponse) Reset

func (*NotifyJobseekerInvitationResponse) String

type UnimplementedEmployerNotificationServiceServer

type UnimplementedEmployerNotificationServiceServer struct {
}

UnimplementedEmployerNotificationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedEmployerNotificationServiceServer) NotifyApplicantCount

func (UnimplementedEmployerNotificationServiceServer) NotifyInterviewSchedule added in v1.0.3

func (UnimplementedEmployerNotificationServiceServer) NotifyInterviewScheduleDeclined added in v1.0.6

func (UnimplementedEmployerNotificationServiceServer) NotifyInvitation

type UnimplementedJobPostingNotificationServiceServer

type UnimplementedJobPostingNotificationServiceServer struct {
}

UnimplementedJobPostingNotificationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedJobPostingNotificationServiceServer) CloseJob

type UnimplementedJobseekerNotificationServiceServer

type UnimplementedJobseekerNotificationServiceServer struct {
}

UnimplementedJobseekerNotificationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedJobseekerNotificationServiceServer) NotifyDailyJobAlert added in v1.0.5

func (UnimplementedJobseekerNotificationServiceServer) NotifyInterviewSchedule added in v1.0.3

func (UnimplementedJobseekerNotificationServiceServer) NotifyInterviewScheduleDeleted added in v1.0.5

func (UnimplementedJobseekerNotificationServiceServer) NotifyInterviewScheduleUpdated added in v1.0.3

func (UnimplementedJobseekerNotificationServiceServer) NotifyInvitation

type UnsafeEmployerNotificationServiceServer

type UnsafeEmployerNotificationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeEmployerNotificationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EmployerNotificationServiceServer will result in compilation errors.

type UnsafeJobPostingNotificationServiceServer

type UnsafeJobPostingNotificationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeJobPostingNotificationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JobPostingNotificationServiceServer will result in compilation errors.

type UnsafeJobseekerNotificationServiceServer

type UnsafeJobseekerNotificationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeJobseekerNotificationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JobseekerNotificationServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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