Files
SQS-service/app/ui/embed.go
T
Naeel c3ba2dcae4 chore: initial import from sless/shared-sqs (v0.1.14)
- Standalone SQS-service repository
- Multi-tenant message queue service, AWS SQS compatible
- Based on GoAws, with mutable tenants, auth, WebUI, Redis persistence
- Ready for independent development and deployment
- See doc/ and README.md for architecture and usage
2026-04-10 16:47:27 +03:00

18 lines
385 B
Go

// app/ui/embed.go
// Встраивание и раздача UI (SPA) для shared-sqs console
// Created: 2026-04-10
package ui
import (
"embed"
"net/http"
)
//go:embed index.html
var content embed.FS
// Handler — возвращает http.Handler, раздающий встроенный index.html
func Handler() http.Handler {
return http.FileServer(http.FS(content))
}