services

package
v0.0.0-...-ebfe39f Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package services implements all aplication services.

Package services implements all aplication services.

Package services implements all aplication services.

Package services implements all aplication services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account interface {
	Create(ctx context.Context, user *models.User) error
	Get(ctx context.Context, user *models.User) (*models.User, error)
	IsExist(ctx context.Context, user *models.User) bool
}

Account implements user account functionalities.

type Command

type Command interface {
	Help(ctx context.Context, msg tgbotapi.MessageConfig, user *models.User) tgbotapi.MessageConfig
}

Command implements command functionalities.

type Message

type Message interface {
	Wrong(ctx context.Context, msg tgbotapi.MessageConfig, user *models.User) tgbotapi.MessageConfig
	Save(ctx context.Context, msg tgbotapi.MessageConfig, user *models.User, mediaType models.Media, update tgbotapi.Update) (tgbotapi.MessageConfig, error)
}

Message implements message functionalities.

Directories

Path Synopsis
package account implements account functionalities.
package account implements account functionalities.
package callback implements callback request functionalities.
package callback implements callback request functionalities.
package command implements command request functionalities.
package command implements command request functionalities.
package account implements message request functionalities.
package account implements message request functionalities.

Jump to

Keyboard shortcuts

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