Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Response ¶
type Response struct {
// Status
Status string `json:"status"`
// Message is for messages to the api consumer
Message string `json:"message,omitempty"`
// Data should used to wrap data which requested the api consumer
Data W `json:"data,omitempty"`
// Error is for a specific error message
Error string `json:"error,omitempty"`
// Errors is for more specific error message due a specific field
Errors map[string]string `json:"errors,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.