用DDD分项目模块

This commit is contained in:
2025-10-05 01:46:48 +08:00
parent 48461b9c49
commit 28acc5104c
41 changed files with 1138 additions and 17 deletions

14
server/api/ping.api Normal file
View File

@@ -0,0 +1,14 @@
type PingReq {}
type PingResp {
Msg string `json:"message"`
}
@server (
group: ping
)
service ping-api {
@handler PingHandler
get /ping (PingReq) returns (PingResp)
}