Vladimir Zagainov e4fea937aa feat: implement CAS module, middleware, utils, and templates
- CAS: GET /files/{hash} with immutable cache headers, launcher asset
  serving, hash validation, StoreFile/VerifyAndStore helpers
- Middleware: CORS, request logging, per-IP token bucket rate limiter
- Utils: SHA1Bytes, SHA256Bytes, SHA1File, Unzip with zip-slip protection
- Templates: placeholder handler with html/template discovery
- Wire CAS routes and middleware chain (Logging → CORS) in main.go
2026-05-26 15:11:41 +03:00
2026-05-23 17:57:37 +03:00
2026-05-23 17:57:37 +03:00

MrixsCraft Server

Minecraft серверная часть на Go (net/http + PostgreSQL).

Сборка

go build -o mrixscraft-server ./cmd/server

Запуск

export SERVER_PORT=8080
export DATABASE_URL="postgres://user:pass@localhost:5432/mrixscraft"

go run ./cmd/server

Переменные окружения

Переменная Описание По умолчанию
SERVER_PORT Порт HTTP-сервера 8080
DATABASE_URL DSN PostgreSQL
Description
No description provided
Readme 287 KiB
Languages
Go 65.6%
HTML 34%
Dockerfile 0.4%