services

package
v0.0.0-...-cc09eb9 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserService

type UserService interface {
	Create(uDTO *domain.UserCreateDTO) (*domain.User, error)
	FindOne(uID uint64, restricted bool) (*domain.User, error)
	FindOneBySocialID(uDTO *domain.UserFindOneBySocialIDDTO) (*domain.User, error)
	FindGroup(uGroup uint64) (*domain.Users, error)
	FindAll(uDTO *domain.UserFindAllDTO) (*domain.Users, error)
	Update(uID uint64, uDTO *domain.UserUpdateDTO) (*domain.User, error)
	UpdateLastAccessTime(uID uint64) (*domain.User, error)
	SignIn(uID uint64, uDTO *domain.UserSignInDTO) (*domain.User, error)
	IsAuthenticated(uAuth string, uAgent string) (*domain.User, error)
}

func NewUserService

func NewUserService(r storage.UserStorage) UserService

Jump to

Keyboard shortcuts

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