Documentation ¶
Index ¶
- func Bind[T any](context fiber.Ctx, validator *validator.Validate) (*T, *utils.ApplictaionError)
- func BindAll[T any](context fiber.Ctx, name string, validator *validator.Validate) (*T, uuid.UUID, *sql.Options, *utils.ApplictaionError)
- func BindConfig(context fiber.Ctx, validator *validator.Validate) (*sql.Options, *utils.ApplictaionError)
- func BindCreate[T any](context fiber.Ctx, validator *validator.Validate) (*T, *utils.ApplictaionError)
- func BindDelete(context fiber.Ctx, name string) (uuid.UUID, *utils.ApplictaionError)
- func BindGet(context fiber.Ctx, name string) (uuid.UUID, *sql.Options, *utils.ApplictaionError)
- func BindList[T any](context fiber.Ctx) (*T, *sql.Options, *utils.ApplictaionError)
- func BindUpdate[T any](context fiber.Ctx, name string, validator *validator.Validate) (*T, uuid.UUID, *utils.ApplictaionError)
- func BindWithString[T any](context fiber.Ctx, name string, validator *validator.Validate) (*T, string, *utils.ApplictaionError)
- func BindWithUUID[T any](context fiber.Ctx, name string, validator *validator.Validate) (*T, uuid.UUID, *utils.ApplictaionError)
- func GetUser(context fiber.Ctx) uuid.UUID
- func GetUserStore(context fiber.Ctx) uuid.UUID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bind ¶
func Bind[T any](context fiber.Ctx, validator *validator.Validate) (*T, *utils.ApplictaionError)
func BindConfig ¶
func BindConfig(context fiber.Ctx, validator *validator.Validate) (*sql.Options, *utils.ApplictaionError)
func BindCreate ¶
func BindCreate[T any](context fiber.Ctx, validator *validator.Validate) (*T, *utils.ApplictaionError)
func BindDelete ¶
func BindDelete(context fiber.Ctx, name string) (uuid.UUID, *utils.ApplictaionError)
func BindUpdate ¶
func BindWithString ¶
func BindWithString[T any](context fiber.Ctx, name string, validator *validator.Validate) (*T, string, *utils.ApplictaionError)
func BindWithUUID ¶
func GetUserStore ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.