Documentation
¶
Index ¶
- Variables
- func CreateAdyenClient(conf config.AdyenConfig) *adyen.APIClient
- func VerifyAdyenHMAC(payload *webhook.NotificationRequestItem, secret string) (err error)
- type Render
- type Server
- func (s *Server) AdyenPaymentsWebhook(c *gin.Context)
- func (s *Server) AdyenWebhookAuth() gin.HandlerFunc
- func (s *Server) Checkout(c *gin.Context)
- func (s *Server) Healthz(c *gin.Context)
- func (s *Server) Index(c *gin.Context)
- func (s *Server) Maintenance() gin.HandlerFunc
- func (s *Server) NotAllowed(c *gin.Context)
- func (s *Server) NotFound(c *gin.Context)
- func (s *Server) Readyz(c *gin.Context)
- func (s *Server) Serve() (err error)
- func (s *Server) SetStatus(health, ready bool)
- func (s *Server) Shutdown() (err error)
- func (s *Server) Status(c *gin.Context)
- func (s *Server) URL() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CreateAdyenClient ¶ added in v0.2.0
func CreateAdyenClient(conf config.AdyenConfig) *adyen.APIClient
func VerifyAdyenHMAC ¶ added in v0.2.0
func VerifyAdyenHMAC(payload *webhook.NotificationRequestItem, secret string) (err error)
Types ¶
type Render ¶
type Render struct {
// contains filtered or unexported fields
}
func (*Render) AddPattern ¶
type Server ¶
func Debug ¶
Debug returns a server that uses the specified http server instead of creating one. This function is primarily used to create test servers easily.
func (*Server) AdyenPaymentsWebhook ¶ added in v0.2.0
func (*Server) AdyenWebhookAuth ¶ added in v0.2.0
func (s *Server) AdyenWebhookAuth() gin.HandlerFunc
func (*Server) Maintenance ¶
func (s *Server) Maintenance() gin.HandlerFunc
If the server is in maintenance mode, aborts the current request and renders the maintenance mode page instead. Returns nil if not in maintenance mode.
func (*Server) NotAllowed ¶
func (*Server) Serve ¶
Serve the compliance and administrative user interfaces in its own go routine.
func (*Server) SetStatus ¶
SetStatus sets the health and ready status on the server, modifying the behavior of the kubernetes probe responses.
Click to show internal directories.
Click to hide internal directories.