model

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenParamsList

func GenParamsList(c echo.Context) map[string]string

func GetRequestID

func GetRequestID(c echo.Context) string

func NewAPIResponse

func NewAPIResponse[T any](c echo.Context, method string, data T) models.APIResponse[T]

func NewAPIResponseError

func NewAPIResponseError[I any](c echo.Context, method string, err I) models.APIResponseError[I]

Types

type HandlerAPIVersion

type HandlerAPIVersion struct {
	DB        sb.Client
	EchoGroup *echo.Group
}

type HandlerFunc

type HandlerFunc echo.HandlerFunc

type Handlers

type Handlers struct {
	DB         sb.Client
	EchoServer *echo.Echo
}

Jump to

Keyboard shortcuts

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