Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewDetailService)
Functions ¶
This section is empty.
Types ¶
type DefaultUsersService ¶
type DefaultUsersService struct { Repository repositories.UsersRepository // contains filtered or unexported fields }
type UsersService ¶
type UsersService interface { //Get(ID uint64) (*models.Detail, error) Create(username, password, email string) (*models.User, error) Verify(username, password string) (valid bool, err error) }
func CreateUsersService ¶
func CreateUsersService(cf string, sto repositories.UsersRepository) (UsersService, error)
func NewDetailService ¶
func NewDetailService(logger *zap.Logger, Repository repositories.UsersRepository) UsersService
Click to show internal directories.
Click to hide internal directories.