service

package
v0.0.0-...-dacb89a Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(repo *repository.Repository) store.Service

Types

type AuthService

type AuthService struct {
	// contains filtered or unexported fields
}

func NewAuthService

func NewAuthService(repo store.AuthRepositoryInterface) *AuthService

func (*AuthService) Create

func (s *AuthService) Create(u *model.User) error

func (*AuthService) FindByPhone

func (s *AuthService) FindByPhone(phone string) (*model.User, error)

Jump to

Keyboard shortcuts

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