Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadRequestBody ¶
func ReadRequestBody( w http.ResponseWriter, r *http.Request, bodyObj interface{}, ) bool
func ServeRequest ¶
func ServeRequest(req InternalRequest, logger *zap.Logger)
func WriteAPIResponse ¶
func WriteAPIResponse( w http.ResponseWriter, statusCode int, res interface{}, )
Types ¶
type InternalRequest ¶
Click to show internal directories.
Click to hide internal directories.