chore: initial project structure
This commit is contained in:
2
internal/admin/admin.go
Normal file
2
internal/admin/admin.go
Normal 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
3
internal/api/api.go
Normal 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
2
internal/auth/auth.go
Normal file
@@ -0,0 +1,2 @@
|
||||
// Package auth implements Yggdrasil authentication protocol.
|
||||
package auth
|
||||
2
internal/cas/cas.go
Normal file
2
internal/cas/cas.go
Normal file
@@ -0,0 +1,2 @@
|
||||
// package cas implements Content-Addressable Storage for files (mods, assets, etc).
|
||||
package cas
|
||||
2
internal/config/config.go
Normal file
2
internal/config/config.go
Normal file
@@ -0,0 +1,2 @@
|
||||
// package config handles server configuration (env vars, config files).
|
||||
package config
|
||||
2
internal/database/database.go
Normal file
2
internal/database/database.go
Normal file
@@ -0,0 +1,2 @@
|
||||
// package database manages PostgreSQL connections, migrations, and data models.
|
||||
package database
|
||||
2
internal/middleware/middleware.go
Normal file
2
internal/middleware/middleware.go
Normal file
@@ -0,0 +1,2 @@
|
||||
// package middleware provides HTTP middleware (JWT, CORS, rate limiting, logging).
|
||||
package middleware
|
||||
2
internal/templates/templates.go
Normal file
2
internal/templates/templates.go
Normal file
@@ -0,0 +1,2 @@
|
||||
// package templates handles Go html/template rendering for the site and admin panel.
|
||||
package templates
|
||||
Reference in New Issue
Block a user