Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct{}
API request bin
func (API) CreateRequestBin ¶
CreateRequestBin /api/request-bin/Create @Summary Receive and visualize HTTP requests for any method. @Description Receive and visualize HTTP requests for any method. @Tags Web-Utils @Accept json @Produce json,xml @Param "" body CreateBinRequest true "Request JSON" @Success 200 {object} data.APIResponse @Failure 400 {object} data.APIResponse @Router /api/request-bin/Create [post]
func (API) RequestIn ¶
RequestIn /api/request-bin/receive/:id @Summary Take any request for request-bin @Description Take any request for request-bin @Tags Web-Utils @Accept json,xml @Produce json,xml @Param "" body object true "Any kind of request" @Param id path int true "id from create request" @Success 200 {object} data.APIResponse @Failure 400 {object} data.APIResponse @Router /api/request-bin/receive/{id} [post]
type BinData ¶
BinData page data /app/request-bin
func GetRequestBinHistory ¶
GetRequestBinHistory get request history by id
func LoadRequestBinData ¶
LoadRequestBinData load request bin data
type CreateBinRequest ¶
type CreateBinRequest struct {
IsPrivate bool `json:"isPrivate" xml:"isPrivate" form:"isPrivate"`
}
CreateBinRequest /api/request-bin/create
type CreateBinResponse ¶
CreateBinResponse response