2 Commits

Author SHA1 Message Date
向宁
3eb1a1839d feat: add JWT auth middleware with public endpoint selector
Add HS256 JWT authentication to both HTTP and gRPC servers using
Kratos jwt middleware with selector to skip auth for public share
endpoints (GetShareInfo, DownloadShare). Wire DI updated to inject
conf.Auth into server constructors.
2026-05-25 13:43:34 +08:00
向宁
b9edb7b7de feat: add server layer with HTTP and gRPC transport
Create internal/server package with HTTP and gRPC server constructors
using Kratos transport layer. Includes Wire provider set for DI,
recovery/tracing/logging middleware, and graceful nil-safe config handling.

Fix .gitignore 'server' pattern to only match root-level binary.
2026-05-25 13:05:33 +08:00