Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrInvalidInput defines the error response returned by the handler //if the request is not valid JSON or have any invalid value. ErrInvalidInput = echo.NewHTTPError(http.StatusBadRequest, "Invalid input") )
Functions ¶
Types ¶
type HTTPTaxObjectHandler ¶
type HTTPTaxObjectHandler struct {
// contains filtered or unexported fields
}
HTTPTaxObjectHandler defines the http delivery layer for the tax object.
func (*HTTPTaxObjectHandler) CreateTaxObject ¶
func (handler *HTTPTaxObjectHandler) CreateTaxObject(c echo.Context) (err error)
CreateTaxObject handle request for creating the tax object.
Click to show internal directories.
Click to hide internal directories.