routes

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterByGin

func RegisterByGin(ginApp *gin.Engine)

func UpButterReq

func UpButterReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)

func UpFormReq added in v0.1.1

func UpFormReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)

UpFormReq binds form or multipart form data.

func UpJsonReq added in v0.1.1

func UpJsonReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)

UpJsonReq binds JSON request bodies.

func UpQueryReq added in v0.1.1

func UpQueryReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)

UpQueryReq binds query parameters.

func UpUriReq added in v0.1.1

func UpUriReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)

UpUriReq binds URI path parameters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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