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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureKeyboardCallbackUserService

func ConfigureKeyboardCallbackUserService(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)

	GetUserIdsWhoManager(context.Context) ([]int64, error)
	GetRepairByModelAndID(context.Context, string, uuid.UUID) (*entities.Repair, error)
	GetState(context.Context, string, int) (*entities.State, error)

	CreateReservation(context.Context, *entities.Reservation) error
	ExistsReservationByProductID(context.Context, uuid.UUID) (bool, error)

	GetProductByID(context.Context, uuid.UUID) (*entities.Product, error)
}

Jump to

Keyboard shortcuts

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