Documentation ¶
Index ¶
- type CommandHandler
- func (c *CommandHandler) HandleDrawCard(message *tgbotapi.Message) error
- func (c *CommandHandler) HandleNewGame(message *tgbotapi.Message) error
- func (c *CommandHandler) HandleStart(message *tgbotapi.Message) error
- func (c *CommandHandler) HandleStats(message *tgbotapi.Message) error
- func (c *CommandHandler) HandleStopDrawing(message *tgbotapi.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type CommandHandler struct {
// contains filtered or unexported fields
}
func NewCommandHandler ¶
func NewCommandHandler(handlerParams handlers.HandlerParams) *CommandHandler
func (*CommandHandler) HandleDrawCard ¶
func (c *CommandHandler) HandleDrawCard(message *tgbotapi.Message) error
func (*CommandHandler) HandleNewGame ¶
func (c *CommandHandler) HandleNewGame(message *tgbotapi.Message) error
func (*CommandHandler) HandleStart ¶
func (c *CommandHandler) HandleStart(message *tgbotapi.Message) error
func (*CommandHandler) HandleStats ¶
func (c *CommandHandler) HandleStats(message *tgbotapi.Message) error
func (*CommandHandler) HandleStopDrawing ¶
func (c *CommandHandler) HandleStopDrawing(message *tgbotapi.Message) error
Click to show internal directories.
Click to hide internal directories.