user

package
v0.0.0-...-1561af3 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module interface {
	UserLogin(ctx context.Context, req *entity.UserLogin) (*entity.UserLoginResponse, []error)
	RegisterUser(ctx context.Context, req *entity.CreateUser) []error
	GetUser(ctx context.Context, req *entity.UserLogin) (*entity.User, error)
	UpdateUserPassword(ctx context.Context, req *entity.UserUpdatePasswordRequest) []error
}

func NewModule

func NewModule(repo userRepository.Repository, tokenLifeTime int64, jwtSecret string) Module

Jump to

Keyboard shortcuts

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