Documentation
¶
Index ¶
- type Response
- func (r *Response[T]) AddHeader(key, value string) *Response[T]
- func (r *Response[T]) SetData(data *T) *Response[T]
- func (r *Response[T]) SetError(err error) *Response[T]
- func (r *Response[T]) SetMessage(message string) *Response[T]
- func (r *Response[T]) SetStatus(status int) *Response[T]
- func (r *Response[T]) Write(w http.ResponseWriter) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.