Documentation ¶
Index ¶
- type CreateHandler
- type ForceHandler
- type Handler
- func NewCreateHandler(bot *service.Bot, trans *translator.Translator, base *JoinHandler) Handler
- func NewForceHandler(bot *service.Bot) Handler
- func NewJoinHandler(bot *service.Bot, trans *translator.Translator, ...) Handler
- func NewJoinedHandler(bot *service.Bot, trans *translator.Translator, game domain.GameRepository) Handler
- func NewStatHandler(bot *service.Bot, trans *translator.Translator, ...) Handler
- func NewTopHandler(bot *service.Bot, trans *translator.Translator, user domain.UserRepository, ...) Handler
- type JoinHandler
- type JoinedHandler
- type Registry
- type StatHandler
- type TopHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateHandler ¶
type CreateHandler struct { Handler // contains filtered or unexported fields }
func (CreateHandler) Execute ¶
func (hdlr CreateHandler) Execute(msg *tgbotapi.Message)
func (CreateHandler) Name ¶
func (hdlr CreateHandler) Name() string
type ForceHandler ¶
type ForceHandler struct { Handler // contains filtered or unexported fields }
func (ForceHandler) Execute ¶
func (hdlr ForceHandler) Execute(msg *tgbotapi.Message)
func (ForceHandler) Name ¶
func (hdlr ForceHandler) Name() string
type Handler ¶
func NewCreateHandler ¶
func NewCreateHandler( bot *service.Bot, trans *translator.Translator, base *JoinHandler, ) Handler
func NewForceHandler ¶
func NewJoinHandler ¶
func NewJoinHandler( bot *service.Bot, trans *translator.Translator, userRepository domain.UserRepository, gameRepository domain.GameRepository, gunslingerRepository domain.GunslingerRepository, nagan *service.Nagan, ) Handler
func NewJoinedHandler ¶
func NewJoinedHandler( bot *service.Bot, trans *translator.Translator, game domain.GameRepository, ) Handler
func NewStatHandler ¶
func NewStatHandler( bot *service.Bot, trans *translator.Translator, gunslinger domain.GunslingerRepository, ) Handler
func NewTopHandler ¶
func NewTopHandler( bot *service.Bot, trans *translator.Translator, user domain.UserRepository, gunslinger domain.GunslingerRepository, ) Handler
type JoinHandler ¶
type JoinHandler struct { Handler // contains filtered or unexported fields }
func (JoinHandler) Execute ¶
func (hdlr JoinHandler) Execute(msg *tgbotapi.Message)
func (JoinHandler) Name ¶
func (hdlr JoinHandler) Name() string
type JoinedHandler ¶
type JoinedHandler struct { Handler // contains filtered or unexported fields }
func (JoinedHandler) Execute ¶
func (hdlr JoinedHandler) Execute(msg *tgbotapi.Message)
func (JoinedHandler) Name ¶
func (hdlr JoinedHandler) Name() string
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
type StatHandler ¶
type StatHandler struct { Handler // contains filtered or unexported fields }
func (StatHandler) Execute ¶
func (hdlr StatHandler) Execute(msg *tgbotapi.Message)
func (StatHandler) Name ¶
func (hdlr StatHandler) Name() string
type TopHandler ¶
type TopHandler struct { Handler // contains filtered or unexported fields }
func (TopHandler) Execute ¶
func (hdlr TopHandler) Execute(msg *tgbotapi.Message)
func (TopHandler) Name ¶
func (hdlr TopHandler) Name() string
Click to show internal directories.
Click to hide internal directories.