dataccess

package
v0.0.0-...-4b14bc7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IUserRepository

type IUserRepository interface {
	CloseClient()
	CreateUser(newUser *models.User) (models.User, error)
	GetAllUsers(page int, maxUsers int) ([]models.User, error)
	GetUserByID(id string) (models.User, error)
	GetTotalUsers() (int, error)
	GetUserByEmailAndPass(email string, password string) (*models.User, error)
	ReplaceUser(newUser *models.User, id string) (models.User, error)
	UpdateUserById(newUser *models.User, id string) (*models.User, error)
	DeleteUserById(id string) (*models.User, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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