service

package
v0.0.0-...-05c022d Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: GPL-2.0 Imports: 5 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 {
	CreaUsuario(*domain.User) (*domain.User, error)
	Autentica(usu string, pass string) (*domain.User, error)
	BuscaPorUsuario(usu string) (*domain.User, error)
}

UserService interface para exponer manejo de User

var (
	//UserS para manejo del negocio de Usuario
	UserS UserService
)

func NewUserService

func NewUserService(uR repository.UserRepository) UserService

NewUserService para obtener repositorio de manera ordenada

Jump to

Keyboard shortcuts

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