MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / Login

Method Login

internal/service/user.go:23–23  ·  view source on GitHub ↗
(ctx context.Context, username string, password string)

Source from the content-addressed store, hash-verified

21type UserService interface {
22 SignUp(ctx context.Context, u domain.User) error
23 Login(ctx context.Context, username string, password string) (domain.User, error)
24 LoginBySMS(ctx context.Context, number string, code string) (domain.User, error)
25 ChangePassword(ctx context.Context, username string, password string, newPassword string, confirmPassword string) error
26 DeleteUser(ctx context.Context, username string, password string, uid int64) error

Callers 1

LoginMethod · 0.65

Implementers 3

userServiceinternal/service/user.go
MockUserServiceinternal/service/mocks/user.mock.go
MockUserServiceMockRecorderinternal/service/mocks/user.mock.go

Calls

no outgoing calls

Tested by

no test coverage detected