Documentation ¶ Index ¶ Constants type Service func New(l logger.Logger, cfg *config.Config, parserService *parser.Service, ...) *Service func (s Service) Name() string func (s *Service) Start(ctx context.Context) error func (s Service) Stop(ctx context.Context) error Constants ¶ View Source const ServiceName = "telegram-service" Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { // contains filtered or unexported fields } func New ¶ func New(l logger.Logger, cfg *config.Config, parserService *parser.Service, lim limiter.ILimiter) *Service func (Service) Name ¶ func (s Service) Name() string func (*Service) Start ¶ func (s *Service) Start(ctx context.Context) error func (Service) Stop ¶ func (s Service) Stop(ctx context.Context) error Source Files ¶ View all Source files handler.goservice.go Click to show internal directories. Click to hide internal directories.