Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotifySet = wire.NewSet(di.DefaultSet, mq_di.New, InitSlack, InitTelegram, InitSMTP, NewBotApplication, NewBotService, )
FullBotService ======================================================================================================
Functions ¶
func InitTelegram ¶
InitTelegram - Init telegram bot
Types ¶
type Service ¶
type Service struct { // Common Log logger.Logger Config *config.Config // Observability Tracer *trace.TracerProvider Monitoring *http.ServeMux PprofEndpoint profiling.PprofEndpoint AutoMaxPro autoMaxPro.AutoMaxPro // contains filtered or unexported fields }
Service - heplers
func NewBotService ¶
func NewBotService( log logger.Logger, config2 *config.Config, monitoring2 *http.ServeMux, tracer *trace.TracerProvider, pprofHTTP profiling.PprofEndpoint, autoMaxProcsOption autoMaxPro.AutoMaxPro, slack2 *slack.Bot, telegram2 *telegram.Bot, smtp2 *smtp.Bot, bot *application.Bot, ) (*Service, error)
Click to show internal directories.
Click to hide internal directories.