Documentation ¶
Index ¶
- type Handlers
- func (bh *Handlers) AddCommands(c *fiber.Ctx) error
- func (bh *Handlers) CreateBot(c *fiber.Ctx) error
- func (bh *Handlers) DeleteBot(c *fiber.Ctx) error
- func (bh *Handlers) DeleteWebhook(c *fiber.Ctx) error
- func (bh *Handlers) EditBot(c *fiber.Ctx) error
- func (bh *Handlers) GetAllBots(c *fiber.Ctx) error
- func (bh *Handlers) GetBotById(c *fiber.Ctx) error
- func (bh *Handlers) GetCommands(c *fiber.Ctx) error
- func (bh *Handlers) GetCurrentBot(c *fiber.Ctx) error
- func (bh *Handlers) GetKey(c *fiber.Ctx) error
- func (bh *Handlers) GetWebhook(c *fiber.Ctx) error
- func (bh *Handlers) RefreshKey(c *fiber.Ctx) error
- func (bh *Handlers) RemoveCommand(c *fiber.Ctx) error
- func (bh *Handlers) SaveWebhook(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
func New ¶
func New(s *botservice.Service) *Handlers
func (*Handlers) AddCommands ¶
func (*Handlers) DeleteWebhook ¶
func (*Handlers) GetAllBots ¶
func (*Handlers) GetBotById ¶
func (*Handlers) GetCommands ¶
func (*Handlers) GetCurrentBot ¶
func (*Handlers) GetWebhook ¶
func (*Handlers) RefreshKey ¶
func (*Handlers) RemoveCommand ¶
func (*Handlers) SaveWebhook ¶
Click to show internal directories.
Click to hide internal directories.