Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentService ¶
type CommentService struct {
// contains filtered or unexported fields
}
CommentService is a service implementation of comment related functionalities.
func NewCommentService ¶
func NewCommentService(logger *zap.SugaredLogger, db *pgxpool.Pool, natsClient *nc.Conn) *CommentService
NewCommentService returns a newly created and ready to use CommentService.
func (*CommentService) Start ¶
func (s *CommentService) Start() error
Start starts the subscriptions so ready to be notified.
func (*CommentService) Stop ¶
func (s *CommentService) Stop()
Stop stops the component and it subscriptions.
type TicketService ¶
type TicketService struct {
// contains filtered or unexported fields
}
TicketService is a service implementation of ticket related functionalities.
func NewTicketService ¶
func NewTicketService(logger *zap.SugaredLogger, db *pgxpool.Pool, natsClient *nc.Conn) *TicketService
NewTicketService returns a newly created and ready to use TicketService.
func (*TicketService) Start ¶
func (s *TicketService) Start() error
Start starts the subscriptions so ready to be notified.
func (*TicketService) Stop ¶
func (s *TicketService) Stop()
Stop stops the component and it subscriptions.
Click to show internal directories.
Click to hide internal directories.