Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
Assuming models.UserRequest is defined in your models package
func NewAuthService ¶
func NewAuthService(store store.UserStoreInterface) *AuthService
func (*AuthService) LoginUser ¶
func (s *AuthService) LoginUser(ctx context.Context, loginReq models.LoginRequest) (models.User, error)
func (*AuthService) RegisterUser ¶
func (s *AuthService) RegisterUser(ctx context.Context, userReq models.UserRequest) error
Click to show internal directories.
Click to hide internal directories.