Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpResponse ¶
type HttpResponse struct { Message string `json:"message,omitempty" example:"ok"` Result interface{} `json:"result,omitempty"` }
func GenericBadResponseResponse ¶
func GenericBadResponseResponse() *HttpResponse
func SimpleMessageResponse ¶
func SimpleMessageResponse(arg ...string) *HttpResponse
func SimpleResponse ¶
func SimpleResponse(result interface{}, arg ...string) *HttpResponse
Click to show internal directories.
Click to hide internal directories.