maximo tejeda 0d735735ba
Some checks failed
dev test / test (push) Failing after 29s
dev test / vulnCheck (push) Has been skipped
dev test / Ci-Lint (push) Has been skipped
ADAPT to local git
2024-12-04 22:15:22 -04:00

18 lines
488 B
Go

package ports
import (
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
"git.maximotejeda.com/maximo/us-dop-bot/internal/application/domain"
)
type UserService interface {
Get(int64) (*domain.User, error)
Edit(*tgbotapi.User) (bool, error)
Delete(int64) (bool, error)
Create(*tgbotapi.User) (bool, error)
AddBot(int64, string) (bool, error)
GetBots(int64) ([]string, error)
DeleteBot(int64, string) (bool, error)
GetAllBotsUsers(string) ([]*domain.User, error)
}