Documentation ¶
Index ¶
- Variables
- func AllowHeaders(next echo.HandlerFunc) echo.HandlerFunc
- func HandleCallback(c echo.Context) error
- func HandlePayments(c echo.Context) error
- func HandlePaymentsTransfer(e echo.Context) error
- func RequireAPIKey(next echo.HandlerFunc) echo.HandlerFunc
- func StartAPIRouter(e *echo.Echo)
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInternalServer error = errors.New("Internal Server Error")
View Source
var ErrInvalidCredentials error = errors.New("Invalid API Key")
View Source
var ErrProvideAPIKey error = errors.New("API Key is required in the header. X-Api-Key")
Functions ¶
func AllowHeaders ¶
func AllowHeaders(next echo.HandlerFunc) echo.HandlerFunc
func HandleCallback ¶
func HandlePayments ¶
func HandlePaymentsTransfer ¶
func RequireAPIKey ¶
func RequireAPIKey(next echo.HandlerFunc) echo.HandlerFunc
func StartAPIRouter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.