Files
honoka-chan/model/api.go
T
2023-06-20 09:08:42 +08:00

18 lines
377 B
Go

package model
import "encoding/json"
// ApiReq ...
type ApiReq struct {
Module string `json:"module"`
Action string `json:"action"`
Timestamp int64 `json:"timeStamp"`
}
// ApiResp ...
type ApiResp struct {
ResponseData json.RawMessage `json:"response_data"`
ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"`
}