Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct {
// contains filtered or unexported fields
}
AuthController struct
func NewAuthController ¶
func NewAuthController(userStorage storage.UserStorage, authProvider *authenticate.JWTProvider) *AuthController
NewAuthController constructor
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
UserController struct
func NewUserController ¶
func NewUserController(userStorage storage.UserStorage, authMiddleware func(http.Handler) http.Handler) *UserController
NewUserController constructor
Source Files
¶
- auth_controller.go
- user_controller.go
Click to show internal directories.
Click to hide internal directories.