param

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = service.Config{
	Method: "GET",
	Path:   "/param/:id",
	Build:  Build,
}

Functions

func Build

func Build(
	requestID meta.RequestId,
	rawHeaders service.RawHeaders,
	rawBody service.RawBody,
	rawParams service.RawParams,
) (
	service.TPL, error,
)

Types

type Company

type Company struct {
	ID *int `json:"app_id" header:"X-Companyid"`
}

type Item

type Item struct {
	Func func(string) error `json:"-"`
	ID   int                `json:"id" param:"id"`
}

Jump to

Keyboard shortcuts

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