Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Status string `json:"status"`
Errors map[string]string `json:"errors"`
}
func BuildErrorResponse ¶
func BuildErrorResponse(bodyError map[string]string) *ErrorResponse
func BuildEventErrorResponse ¶
func BuildEventErrorResponse(bodyError map[string]string) *ErrorResponse
func CheckErrorBody ¶
func CheckErrorBody(body *activate_request.ActivateRequest) *ErrorResponse
func CheckEventErrorBody ¶
func CheckEventErrorBody(body *event_request.EventRequest) *ErrorResponse
type EventErrorResponse ¶
Click to show internal directories.
Click to hide internal directories.