Documentation ¶
Index ¶
- type Service
- type User
- func (_m *User) AuthViaBot(ctx context.Context, user *tg.User, opts *service.AuthSignUpOpts) (*domain.User, error)
- func (_m *User) Restart(ctx context.Context, user *domain.User) error
- func (_m *User) SetUserLanguage(ctx context.Context, user *domain.User, lang string) (bool, error)
- func (_m *User) Stop(ctx context.Context, user *domain.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service is an autogenerated mock type for the Service type
func NewService ¶
func NewService(t mockConstructorTestingTNewService) *Service
NewService creates a new instance of Service. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type User ¶
User is an autogenerated mock type for the User type
func NewUser ¶
func NewUser(t mockConstructorTestingTNewUser) *User
NewUser creates a new instance of User. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*User) AuthViaBot ¶
func (_m *User) AuthViaBot(ctx context.Context, user *tg.User, opts *service.AuthSignUpOpts) (*domain.User, error)
AuthViaBot provides a mock function with given fields: ctx, user, opts
func (*User) SetUserLanguage ¶
SetUserLanguage provides a mock function with given fields: ctx, user, lang
Click to show internal directories.
Click to hide internal directories.