Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct {
Data any `json:"data"`
Meta map[string]any `json:"meta,omitempty"`
Headers map[string]string `json:"-"`
}
func (Response) SetCustomHeaders ¶
func (resp Response) SetCustomHeaders(w http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.