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
Click to show internal directories.
Click to hide internal directories.