user

package
v0.0.0-...-68a21f0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureKeyboardTextUserService

func ConfigureKeyboardTextUserService(app *app.App)

Types

type Repository

type Repository interface {
	CreateDialog(context.Context, *entities.Dialog) error
	EditDialog(context.Context, *entities.Dialog) error
	GetDialogByTalkerID(context.Context, int64) (*entities.Dialog, error)

	GetCategoriesByType(context.Context, int) ([]entities.Category, error)

	GetSaleProducts(context.Context) ([]entities.Product, error)
	GetProducersByCategory(context.Context, string, int) ([]string, error)
	GetProductsByProducer(context.Context, string, int) ([]entities.Product, error)
	GetProduct(context.Context, string, string, int) (*entities.Product, error)
	GetProductWithoutCategoryType(context.Context, string, string) (*entities.Product, error)

	GetProducersRepair(context.Context) ([]string, error)
	GetModelsRepair(context.Context, string) ([]string, error)
	GetRepairs(context.Context, string) ([]entities.Repair, error)
	GetRepairByModelAndName(context.Context, string, string) (*entities.Repair, error)

	GetUserIdsWhoManager(context.Context) ([]int64, error)

	CreateState(context.Context, *entities.State) error
	GetState(context.Context, string, int) (*entities.State, error)
}

Jump to

Keyboard shortcuts

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