Versions in this module Expand all Collapse all v0 v0.1.8 Mar 30, 2022 Changes in this version + func SendHTTPRequest(req *http.Request, httpClient HTTPClient, status int, logger *log.Log) ([]byte, http.Header, error) + func WriteErrorResponsef(rw http.ResponseWriter, logger logger, status int, msg string, ...) + func WriteResponse(rw http.ResponseWriter, l logger, v interface{}) + type ErrorResponse struct + Message string + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type HTTPHandler struct + func NewHTTPHandler(path, method string, handle http.HandlerFunc) *HTTPHandler + func (h *HTTPHandler) Handle() http.HandlerFunc + func (h *HTTPHandler) Method() string + func (h *HTTPHandler) Path() string + type Handler interface + Handle func() http.HandlerFunc + Method func() string + Path func() string