user

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UseCase

type UseCase struct {
	// contains filtered or unexported fields
}

UseCase -.

func New

func New(r repo.UserRepo, j *jwt.Manager) *UseCase

New -.

func (*UseCase) GetUser

func (uc *UseCase) GetUser(ctx context.Context, userID string) (entity.User, error)

GetUser -.

func (*UseCase) Login

func (uc *UseCase) Login(ctx context.Context, email, password string) (string, error)

Login -.

func (*UseCase) Register

func (uc *UseCase) Register(ctx context.Context, username, email, password string) (entity.User, error)

Register -.

Jump to

Keyboard shortcuts

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