Documentation ¶
Overview ¶
Package usergrp maintains the group of handlers for user access.
Index ¶
- type Handlers
- func (h Handlers) ChangePassword(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) NewToken(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) QueryByID(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) QueryUserProjects(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) SignUp(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Update(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) UpdateImage(ctx context.Context, w http.ResponseWriter, r *http.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct { User user.Core Workspace workspace.Core WorkspaceUser workspace_user.Core Auth *auth.Auth Project project.Core }
Handlers manages the set of user endpoints.
func (Handlers) ChangePassword ¶
ChangePassword updates a user in the system.
func (Handlers) QueryUserProjects ¶
func (h Handlers) QueryUserProjects(ctx context.Context, w http.ResponseWriter, r *http.Request) error
QueryUserProjects returns a list of projects for the user.
func (Handlers) UpdateImage ¶
UpdateImage updates a user in the system.
Click to show internal directories.
Click to hide internal directories.