Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotService ¶
type BotService struct { MaxFailNum int HTTPRootPath string // contains filtered or unexported fields }
BotService contains common application data
func NewBotService ¶
func NewBotService(cfg *Config) (*BotService, error)
NewBotService creates BotService
func (*BotService) Routes ¶
func (s *BotService) Routes() chi.Router
Click to show internal directories.
Click to hide internal directories.