helpers

package
v0.0.0-...-e299d79 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIKey

func GetAPIKey(c *gin.Context) string

func GetAuthToken

func GetAuthToken(c *gin.Context) string

func GetJsonBody

func GetJsonBody[BodyType any](c *gin.Context) BodyType

func GetJsonQuery

func GetJsonQuery[BodyType any](c *gin.Context) BodyType

func GetParams

func GetParams[BodyType any](c *gin.Context) BodyType

func IsEmpty

func IsEmpty(str string) bool

func ObjectIDToString

func ObjectIDToString(s interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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