api

package
v0.0.0-...-110ff3f Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(req *types.APIGenerateRequest) (resp *types.APIGenerateResponse, err error)

func RenderTag

func RenderTag(data *types.TagDataRequest) (*types.TagDataResponse, error)

func RequestBodyParse

func RequestBodyParse(req *types.ParseJsonRequest) (resp *types.ParseJsonResponse, err error)

Types

type APIRoute

type APIRoute struct {
	Handler string
	Method  string
	Path    string
}

type KV

type KV map[string]any

type RouteGroup

type RouteGroup struct {
	Jwt        bool
	Prefix     string
	Group      string
	Timeout    int
	Middleware string
	MaxBytes   int64
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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