command

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddBotToAccount

type AddBotToAccount struct{}

type AddBotToAccountHandler

type AddBotToAccountHandler struct{}

func NewAddBotToAccountHandler

func NewAddBotToAccountHandler() AddBotToAccountHandler

func (AddBotToAccountHandler) Handle

type RegisterAccount

type RegisterAccount struct {
	ID         string
	TelegramID int64
}

RegisterAccount register a new user account in the system

type RegisterAccountHandler

type RegisterAccountHandler struct {
	// contains filtered or unexported fields
}

RegisterAccountHandler is a handler for the RegisterAccount command.

func NewRegisterAccountHandler

func NewRegisterAccountHandler(accountRepository domain.AccountRepository) RegisterAccountHandler

NewRegisterAccountHandler insantiate an instance of NewRegisterAccount.

func (RegisterAccountHandler) Handle

Handle execute the RegisterAccount command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL