Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateHandler ¶
type CreateHandler struct {
// contains filtered or unexported fields
}
CreateHandler handles user creation HTTP requests
func ProvideCreateHandler ¶
func ProvideCreateHandler(service userservice.CreateUserService, logger *zap.Logger) *CreateHandler
ProvideCreateHandler creates a new CreateHandler
func (*CreateHandler) Handle ¶
func (h *CreateHandler) Handle(w http.ResponseWriter, r *http.Request)
Handle handles the HTTP request for creating a user
type GetHandler ¶
type GetHandler struct {
// contains filtered or unexported fields
}
GetHandler handles getting a user by ID
func ProvideGetHandler ¶
func ProvideGetHandler(service userservice.GetUserService, logger *zap.Logger) *GetHandler
ProvideGetHandler creates a new GetHandler
func (*GetHandler) Handle ¶
func (h *GetHandler) Handle(w http.ResponseWriter, r *http.Request)
Handle handles the HTTP request for getting a user
Click to show internal directories.
Click to hide internal directories.