MCPcopy Create free account

hub / github.com/Orenoid/telegram-account-bot / functions

Functions278 in github.com/Orenoid/telegram-account-bot

MethodPreCheckoutQuery
PreCheckoutQuery indicates an expected call of PreCheckoutQuery.
mock/telebotmock/mock.go:418
MethodQuery
Query mocks base method.
mock/telebotmock/mock.go:424
MethodQuery
Query indicates an expected call of Query.
mock/telebotmock/mock.go:432
MethodRecipient
Recipient mocks base method.
mock/telebotmock/mock.go:438
MethodRecipient
Recipient indicates an expected call of Recipient.
mock/telebotmock/mock.go:446
MethodRender
()
telebot/templates.go:12
MethodReply
Reply mocks base method.
mock/telebotmock/mock.go:452
MethodReply
Reply indicates an expected call of Reply.
mock/telebotmock/mock.go:464
MethodRespond
Respond mocks base method.
mock/telebotmock/mock.go:471
MethodRespond
Respond indicates an expected call of Respond.
mock/telebotmock/mock.go:483
MethodSend
Send mocks base method.
mock/telebotmock/mock.go:489
MethodSend
Send indicates an expected call of Send.
mock/telebotmock/mock.go:501
MethodSend
(bot *telebot.Bot, recipient telebot.Recipient, _ *telebot.SendOptions)
telebot/senders.go:56
MethodSendAlbum
SendAlbum mocks base method.
mock/telebotmock/mock.go:508
MethodSendAlbum
SendAlbum indicates an expected call of SendAlbum.
mock/telebotmock/mock.go:520
MethodSender
Sender indicates an expected call of Sender.
mock/telebotmock/mock.go:535
MethodSet
Set mocks base method.
mock/telebotmock/mock.go:541
MethodSet
Set indicates an expected call of Set.
mock/telebotmock/mock.go:547
MethodSetUserBalance
(userID uint, balance float64)
service/user/user.go:18
MethodSetUserBalance
SetUserBalance mocks base method.
dal/user/mock.go:140
MethodSetUserBalance
SetUserBalance indicates an expected call of SetUserBalance.
dal/user/mock.go:149
MethodSetUserBalance
(userID uint, balanceFloat float64)
dal/user/mysql.go:102
MethodSetUserState
SetUserState mocks base method.
telebot/user_state_mock.go:66
MethodSetUserState
SetUserState indicates an expected call of SetUserState.
telebot/user_state_mock.go:74
MethodShip
Ship mocks base method.
mock/telebotmock/mock.go:553
MethodShip
Ship indicates an expected call of Ship.
mock/telebotmock/mock.go:565
MethodShippingQuery
ShippingQuery mocks base method.
mock/telebotmock/mock.go:571
MethodShippingQuery
ShippingQuery indicates an expected call of ShippingQuery.
mock/telebotmock/mock.go:579
MethodSwap
(i, j int)
telebot/templates.go:206
MethodSwap
(i, j int)
telebot/templates.go:220
FunctionTestBillCreatedTemplate_Render
(t *testing.T)
telebot/templates_test.go:12
FunctionTestBillListTemplate_Render
(t *testing.T)
telebot/templates_test.go:20
FunctionTestBillServiceSuite
(t *testing.T)
service/bill/bill_test.go:119
FunctionTestCmd
(t *testing.T)
cmd/telebot/telebot_test.go:5
MethodTestCreateBill
()
service/bill/bill_test.go:57
MethodTestCreateBillIfUserNotFound
()
service/bill/bill_test.go:92
MethodTestCreateOrUpdateUser
()
service/telegram/telegram_test.go:51
MethodTestCreateUser
()
service/user/user_test.go:48
FunctionTestDateBillsSender_Send
(t *testing.T)
telebot/senders_test.go:14
FunctionTestDateTitleTemplate_Render
(t *testing.T)
telebot/templates_test.go:137
MethodTestGetBaseUserID
()
service/telegram/telegram_test.go:68
MethodTestGetBillsByCreateTime
()
service/bill/bill_test.go:104
FunctionTestGetConfigFromEnv
(t *testing.T)
conf/config_test.go:11
FunctionTestGetDayRange
(t *testing.T)
telebot/handlers_test.go:346
MethodTestHandleStartCommand
()
telebot/handlers_test.go:78
MethodTestHandleStartCommandIfNilChat
()
telebot/handlers_test.go:295
MethodTestHandleText
()
telebot/handlers_test.go:117
FunctionTestHandlersHub
(t *testing.T)
telebot/handlers_test.go:307
FunctionTestInMemoryUserStateManager_ClearUserState
(t *testing.T)
telebot/user_state_test.go:14
FunctionTestInMemoryUserStateManager_GetUserState
(t *testing.T)
telebot/user_state_test.go:28
FunctionTestInMemoryUserStateManager_SetUserState
(t *testing.T)
telebot/user_state_test.go:46
FunctionTestMonthTitleTemplate_Render
(t *testing.T)
telebot/templates_test.go:132
FunctionTestNewBot
(t *testing.T)
telebot/telebot_test.go:13
FunctionTestNewHandlerHub
(t *testing.T)
telebot/handlers_test.go:25
FunctionTestNewInMemoryUserStateManager
(t *testing.T)
telebot/user_state_test.go:8
FunctionTestNewService
(t *testing.T)
service/telegram/telegram_test.go:16
FunctionTestNewService
(t *testing.T)
service/bill/bill_test.go:19
FunctionTestNewUserService
(t *testing.T)
service/user/user_test.go:15
MethodTestOnCreatingBill
()
telebot/handlers_test.go:231
MethodTestOnEmpty
()
telebot/handlers_test.go:186
MethodTestOnEmptyIfEmptyText
()
telebot/handlers_test.go:220
FunctionTestParseAmount
(t *testing.T)
telebot/handlers_test.go:327
FunctionTestParseBill
(t *testing.T)
telebot/handlers_test.go:311
FunctionTestRegisterHandlers
(t *testing.T)
telebot/telebot_test.go:41
FunctionTestService
(t *testing.T)
service/telegram/telegram_test.go:81
MethodTestSetUserBalanceIfUserNotFound
()
service/user/user_test.go:75
MethodTestSetUserBalanceSuccessFully
()
service/user/user_test.go:61
FunctionTestUserServiceTestSuite
(t *testing.T)
service/user/user_test.go:91
MethodText
Text mocks base method.
mock/telebotmock/mock.go:585
MethodText
Text indicates an expected call of Text.
mock/telebotmock/mock.go:593
MethodUpdate
Update indicates an expected call of Update.
mock/telebotmock/mock.go:607
MethodValidateToken
(token string)
dal/user/mysql.go:41
MethodimportBills
(c echo.Context)
api/api.go:43
Functioninit
()
cmd/telebotctl/telebotctl.go:13
Functioninit
()
cmd/telebotctl/db/db.go:18
Functionmain
()
cmd/telebotctl/telebotctl.go:17
Functionmain
()
cmd/api/api.go:39
Functionmain
()
cmd/telebot/telebot.go:79
← previous201–278 of 278, ranked by callers