api

package
v0.0.0-...-2f508ba Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

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

func NewHandlers

func NewHandlers(
	logger *slog.Logger,
	trimSvc *services.Trim,
	uppercaseSvc *services.Uppercase,
	lowercaseSvc *services.Lowercase,
	reverseSvc *services.Reverse,
	increaseSvc *services.Increase,
) *Handlers

func (*Handlers) ProcessAll

func (h *Handlers) ProcessAll(c *gin.Context)

func (*Handlers) RegisterRoutes

func (h *Handlers) RegisterRoutes(router *gin.Engine)

func (*Handlers) Trim

func (h *Handlers) Trim(c *gin.Context)

func (*Handlers) Uppercase

func (h *Handlers) Uppercase(c *gin.Context)

func (*Handlers) UppercaseWithIncrease

func (h *Handlers) UppercaseWithIncrease(c *gin.Context)

Jump to

Keyboard shortcuts

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