Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { *grpc.ClientConn proto.NotificationServiceClient grpc_health_v1.HealthClient // contains filtered or unexported fields }
Api is profile-service GRPC Api structure with client Connection
type INotificator ¶ added in v0.0.5
type INotificator interface { GetAllAppliedCandidatesByNoty(notyUuid string) ([]*models.Notification, error) GetEmployerByVac(vacReq string) (string, error) UpdateReadNotification(noteUuid string) (error, bool) NewRegisterNotification(req *models.MessageNotification) NewUpdateNotification(req *models.MessageNotification) GetAllUnreadCount(employerUuid string) ([]*models.Notification, error) Stop() }
func NewNotificator ¶ added in v0.0.5
func NewNotificator(kafkaAdd, grpcAddr string, timeout time.Duration) (INotificator, error)
Click to show internal directories.
Click to hide internal directories.