Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserFactory ¶
type UserFactory struct {
// contains filtered or unexported fields
}
func NewUserFactory ¶
func NewUserFactory(repo repositories.UserReadRepository) *UserFactory
func (*UserFactory) Authenticate ¶
func (uf *UserFactory) Authenticate(login, password string) (*domain.User, error)
func (*UserFactory) RestoreAll ¶
func (uf *UserFactory) RestoreAll() ([]domain.User, error)
func (*UserFactory) RestoreOne ¶
func (uf *UserFactory) RestoreOne(id int64) (*domain.User, error)
Click to show internal directories.
Click to hide internal directories.