user_repository

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserRepository

type UserRepository interface {
	Register(ctx context.Context, req user_entity.User) (user_entity.UserData, error)
	Edit(ctx context.Context, req user_entity.User) error
	Login(ctx context.Context, req user_entity.User) (user_entity.User, error)
	GiveAccess(ctx context.Context, req user_entity.User) (user_entity.User, error)
	Search(ctx context.Context, req user_entity.UserGetRequest) (*[]user_entity.UserResponseData, error)
	Delete(ctx context.Context, userId string) (user_entity.User, error)
}

func NewUserRepository

func NewUserRepository(dbPool *pgxpool.Pool) UserRepository

Jump to

Keyboard shortcuts

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