Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomWriter ¶
type CustomWriter struct{}
CustomWriter ...
func (*CustomWriter) WriteError ¶
func (customWriter *CustomWriter) WriteError(w http.ResponseWriter, r *http.Request, err error)
WriteError ...
func (*CustomWriter) WriteSuccess ¶
func (customWriter *CustomWriter) WriteSuccess(w http.ResponseWriter, r *http.Request, data interface{})
WriteSuccess ...
type ICustomWriter ¶
type ICustomWriter interface { WriteSuccess(w http.ResponseWriter, r *http.Request, data interface{}) WriteError(w http.ResponseWriter, r *http.Request, err error) }
ICustomWriter ...
Click to show internal directories.
Click to hide internal directories.