Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Session *discordgo.Session Cfg *config.Config Repo repository.Repository Cron *cron.Cron Validator *validator.Validate }
func NewService ¶
func NewService(cfg *config.Config, repo repository.Repository, session *discordgo.Session, cron *cron.Cron) Service
func (*Service) CheckHealth ¶
func (s *Service) CheckHealth() ([]*models.CheckResult, error)
func (*Service) InitWatchers ¶
Click to show internal directories.
Click to hide internal directories.