Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.0.16
type Option func(*Response)
Option helps overriding/adding response options to the current response.
type Response ¶ added in v0.0.16
type Response struct {
Action string `json:"action,omitempty"`
Data interface{} `json:"data,omitempty"`
Meta interface{} `json:"meta,omitempty"`
Message string `json:"message,omitempty"`
Errors map[string]string `json:"errors,omitempty"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.