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.
Click to show internal directories.
Click to hide internal directories.