service

package
v0.0.0-...-71f12ce Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(
	wire.Struct(new(Options), "*"),
	NewUserService,
)

Functions

This section is empty.

Types

type Options

type Options struct {
	Jwt      *jwt.JWT
	UserRepo *data.UserRepo
}

type UserService

type UserService struct {
	Options
}

func NewUserService

func NewUserService(opt Options) *UserService

func (*UserService) LoginWithEmail

func (u *UserService) LoginWithEmail(ctx context.Context, req *request.EmailLoginReq) (*response.UserLoginInfo, error)

Jump to

Keyboard shortcuts

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