Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Code int `json:"code"` Message string `json:"message"` Object interface{} `json:"object,omitempty"` }
func FailedWithObject ¶
func FailedWithObject(object interface{}) Message
func SuccessWithObject ¶
func SuccessWithObject(object interface{}) Message
Click to show internal directories.
Click to hide internal directories.