chore: initial project structure

This commit is contained in:
2026-05-23 17:57:37 +03:00
commit 551c75a232
13 changed files with 94 additions and 0 deletions

2
internal/admin/admin.go Normal file
View File

@@ -0,0 +1,2 @@
// package admin implements admin panel endpoints (modpack management, CI/CD release).
package admin

3
internal/api/api.go Normal file
View File

@@ -0,0 +1,3 @@
// Package api implements public HTTP endpoints for the launcher and website.
package api

2
internal/auth/auth.go Normal file
View File

@@ -0,0 +1,2 @@
// Package auth implements Yggdrasil authentication protocol.
package auth

2
internal/cas/cas.go Normal file
View File

@@ -0,0 +1,2 @@
// package cas implements Content-Addressable Storage for files (mods, assets, etc).
package cas

View File

@@ -0,0 +1,2 @@
// package config handles server configuration (env vars, config files).
package config

View File

@@ -0,0 +1,2 @@
// package database manages PostgreSQL connections, migrations, and data models.
package database

View File

@@ -0,0 +1,2 @@
// package middleware provides HTTP middleware (JWT, CORS, rate limiting, logging).
package middleware

View File

@@ -0,0 +1,2 @@
// package templates handles Go html/template rendering for the site and admin panel.
package templates