services

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

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