Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonResponse ¶
type JsonResponse struct { Data any `json:"data"` // contains filtered or unexported fields }
func NewJsonResponse ¶
func NewJsonResponse(Data any, statusCode int) *JsonResponse
func (*JsonResponse) Respond ¶
func (jr *JsonResponse) Respond(w http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.