user

package
v0.0.0-...-d904837 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Clock  clock.Clock
	Store  store.Store
	Bundle *i18n.Bundle
}

func (*Service) AuthViaBot

func (srv *Service) AuthViaBot(ctx context.Context, tgUser *tg.User, opts *service.AuthSignUpOpts) (*domain.User, error)

func (*Service) Restart

func (srv *Service) Restart(ctx context.Context, user *domain.User) error

func (*Service) SetUserLanguage

func (srv *Service) SetUserLanguage(ctx context.Context, user *domain.User, lang string) (bool, error)

func (*Service) Stop

func (srv *Service) Stop(ctx context.Context, user *domain.User) error

Jump to

Keyboard shortcuts

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