update
Some checks failed
Build and Publish / Metadata (push) Successful in 11s
Build and Publish / BuildAndDeployAmd64 (push) Failing after 38s
Build and Publish / BuildAndDeployArm64 (push) Failing after 3m56s

This commit is contained in:
matst80
2025-11-11 08:51:56 +01:00
parent ed9a02227e
commit af7ce20557
2 changed files with 15 additions and 0 deletions

View File

@@ -12,6 +12,20 @@ import (
amqp "github.com/rabbitmq/amqp091-go"
)
var tpl = `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>s10r testing - checkout</title>
</head>
<body>
%s
</body>
</html>
`
func (a *App) HandleCheckoutRequests(amqpUrl string, mux *http.ServeMux) {
conn, err := amqp.Dial(amqpUrl)
if err != nil {