Documentation
¶
Overview ¶
Package core implements some core function used by api machinery
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteResponse ¶
WriteResponse writes an error or response to the HTTP response body WriteResponse uses the errno.Decode method to extract the business error code and error message from the error based on the error type
Types ¶
type ErrResponse ¶
Click to show internal directories.
Click to hide internal directories.