http

package
v0.0.0-...-bd854b1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToRouter

func AddToRouter(fiberApp fiber.Router, handler user.HttpHandler)

func SpanNameStrategy

func SpanNameStrategy(c *fiber.Ctx) string

Types

type TracesObject

type TracesObject struct {
}

type UserService

type UserService struct {
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService(userUsecase user.Usecase) *UserService

func (UserService) Login

func (u UserService) Login() fiber.Handler

func (UserService) Register

func (u UserService) Register() fiber.Handler

Register godoc @Summary Register a user @Description Handles user register by processing the provided credentials. @Tags Auth @Accept json @Produce json @Param username {object} user.RegistrationUserInfo true @Success 200 @Failure 500 string true "Internal server error" @Router /registration [post]

Jump to

Keyboard shortcuts

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