history.go 747 字节
package protocol

/*SuccessList */
type SuccessListRequest struct {
	Status int `json:"status"`  // 1 succ 0 fail
}
type SuccessListResponse struct {
	List []*Request `json:"list"`
}

/*GetRequest */
type GetRequestRequest struct {
	Status int `json:"status" valid:"Required"`
	Uri string `json:"uri" valid:"Required"`
}
type GetRequestResponse struct {
	*Request
}


/*Retry */
type RetryRequest struct {
	Status int `json:"status" valid:"Required"`
	Uri string `json:"uri" valid:"Required"`
}
type RetryResponse struct {
	ResultEqual bool `json:"result_equal"`
}

/*DeleteHistory */
type DeleteHistoryRequest struct {
	Status int `json:"status" valid:"Required"`
	Uri string `json:"uri" valid:"Required"`
}
type DeleteHistoryResponse struct {
}