users

package
v0.0.0-...-eeb60d1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 5 Imported by: 0

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)

Jump to

Keyboard shortcuts

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