handler

package
v0.0.0-...-e133c13 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthorizationHeader = "Authorization"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Message string `json:"message" example:"some error message"`
}

type Handler

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

func NewHandler

func NewHandler(services *service.Service) *Handler

func (*Handler) InitRoutes

func (h *Handler) InitRoutes() *gin.Engine

type IDResponse

type IDResponse struct {
	ID uuid.UUID `json:"id" example:"ffffffff-ffff-ffff-ffff-ffffffffffff"`
}

type StatusResponse

type StatusResponse struct {
	Status string `json:"status" example:"ok"`
}

type TokenResponse

type TokenResponse struct {
	Token string `json:"token" example:""`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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