Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer handles output formatting and writing
func (*Writer) WriteError ¶
WriteError writes an error response
func (*Writer) WriteSuccess ¶
func (w *Writer) WriteSuccess(data interface{}, meta *client.ResponseMeta) error
WriteSuccess writes a successful response
Click to show internal directories.
Click to hide internal directories.