services

package
v0.0.0-...-ac57b06 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 3 Imported by: 0

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
}

func NewAuthService

func NewAuthService(userStore store.UserStore) *AuthService

func (*AuthService) AddUser

func (s *AuthService) AddUser(name, email, password string) (*store.User, error)

func (*AuthService) LoginUser

func (s *AuthService) LoginUser(email, password string) (*store.User, error)

Jump to

Keyboard shortcuts

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