sample

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = service.Config{
	IsPrivate: true,
	Method:    "POST",
	Path:      "/sample/:id",
	Build:     Build,
}

Functions

func Build

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

Build godoc @Summary sample simian go api @Description one saple endpoint @Tags sample @Accept json @Produce json @Param resource body sampleResource true "Sample Resource" @Success 200 {object} sampleResp @Router /sample/{id} [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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