Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
ErrorCode int `json:"errorCode,omitempty"`
ErrorMessage string `json:"errorMessage,omitempty"`
}
func NewErrorResponse ¶
func NewErrorResponse(message string) *ErrorResponse
func NewOKResponse ¶
func NewOKResponse() *ErrorResponse
Click to show internal directories.
Click to hide internal directories.