WIP: Restructing auth api and service
Some checks failed
Backend Check Build (NixCN CMS) TeamCity build failed
Client CMS Check Build (NixCN CMS) TeamCity build finished

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-28 18:19:24 +08:00
parent e3c0b60337
commit 89e7f1a41a
33 changed files with 773 additions and 1301 deletions

View File

@@ -0,0 +1,12 @@
package service_auth
type AuthService interface {
Exchange(*ExchangePayload) *ExchangeResult
Magic(*MagicPayload) *MagicResult
}
type AuthServiceImpl struct{}
func NewAuthService() AuthService {
return &AuthServiceImpl{}
}