Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct{}
API string encoder decoder
func (API) EncodeDecode ¶
EncodeDecode /api/string/encodedecode @Summary Convert string encoding based on request @Description Convert string encoding based on request @Tags Formatter @Accept json @Produce json,xml @Param "" body Request true "Request JSON" @Success 200 {object} data.APIResponse @Failure 400 {object} data.APIResponse @Router /api/string/encodedecode [post]
type Request ¶
type Request struct { RequestString string `json:"requestString" xml:"requestString" form:"requestString" binding:"required"` Type string `json:"type" xml:"type" form:"type" binding:"required"` Action string `json:"action" xml:"action" form:"action" binding:"required"` }
Request request /api/string/encodedecode
Click to show internal directories.
Click to hide internal directories.