Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Envelope ¶
type Envelope struct {
Meta json.RawMessage `json:"meta"`
}
type FileResponseDto ¶
type GoodsApiResponse ¶
type GoodsApiResponse struct { Success int `json:"success"` Envelope Data json.RawMessage `json:"data"` Error interface{} `json:"error"` }
type MetaWithFrom ¶
type MetaWithFrom struct {
From string `json:"from"`
}
type Request ¶
type Request struct { Envelope Data json.RawMessage `json:"data" binding:"required"` }
func NewRequest ¶
func NewRequest(data interface{}) *Request
type ResponseError ¶
type ResponseSuccess ¶
type ResponseSuccess struct { Success int `json:"success"` Envelope Data json.RawMessage `json:"data" binding:"required"` }
Click to show internal directories.
Click to hide internal directories.