handler

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APITokenHandler

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

func NewAPITokenHandler

func NewAPITokenHandler(service *apiTokenSvc.Service) *APITokenHandler

func (*APITokenHandler) Register

func (h *APITokenHandler) Register(r *gin.RouterGroup)

type AuthHandler

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

func NewAuthHandler

func NewAuthHandler(service *authSvc.Service) *AuthHandler

func (*AuthHandler) Register

func (h *AuthHandler) Register(r *gin.RouterGroup)

type HealthHandler

type HealthHandler struct{}

func NewHealthHandler

func NewHealthHandler() *HealthHandler

func (*HealthHandler) Register

func (h *HealthHandler) Register(r *gin.RouterGroup)

type MediaHandler

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

MediaHandler handles media requests

func NewMediaHandler

func NewMediaHandler(storage *media.Storage) *MediaHandler

NewMediaHandler creates a new media handler

func (*MediaHandler) GetMedia

func (h *MediaHandler) GetMedia(c *gin.Context)

GetMedia serves a media file by ID GET /api/media/:instanceId/:mediaId

type MessageHandler

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

func NewMessageHandler

func NewMessageHandler(service *messageSvc.Service, idempotency gin.HandlerFunc) *MessageHandler

func (*MessageHandler) Register

func (h *MessageHandler) Register(r *gin.RouterGroup)

type UserHandler

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

UserHandler exposes user management endpoints.

func NewUserHandler

func NewUserHandler(service *userSvc.Service) *UserHandler

NewUserHandler creates a new user handler.

func (*UserHandler) Register

func (h *UserHandler) Register(r *gin.RouterGroup)

Register registers the protected endpoints.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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