domains

package
v0.0.0-...-1011175 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: 0BSD Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthService

type AuthService interface {
	Authorize(tokenString string) (bool, error)
	CreateToken(models.User) string
}

type UserService

type UserService interface {
	WithTrx(trxHandle *gorm.DB) UserService
	GetOneUser(id uint) (models.User, error)
	GetAllUser() ([]models.User, error)
	CreateUser(models.User) error
	UpdateUser(models.User) error
	DeleteUser(id uint) error
}

Jump to

Keyboard shortcuts

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