This commit is contained in:
shiran
2025-03-05 18:03:36 +08:00
commit 61be164a0b
17 changed files with 2806 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
package apps
import (
"context"
"github.com/cloudwego/hertz/pkg/app"
)
func Ping(ctx context.Context, c *app.RequestContext) {
c.Data(200, "text/plain", []byte("pong"))
}