Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilAuthModule = errors.New("Auth module should not be nil")
View Source
var ErrNilUserRepo = errors.New("User repository should not be nil")
View Source
var ErrNilUserService = errors.New("User service should not be nil")
Functions ¶
This section is empty.
Types ¶
type Users ¶
type Users struct {
// contains filtered or unexported fields
}
func NewUserModule ¶
func NewUserModule(userService *userService.UserService, userRepo *userRepository.UserRepository, authEnabled bool) (*Users, error)
func (*Users) RegisterRoutes ¶
func (u *Users) RegisterRoutes(v1 *gin.RouterGroup)
Click to show internal directories.
Click to hide internal directories.