user

package
v0.0.0-...-991afdd Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

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