8000 goms/eHttp/README.md at v1.7.2 · gomsx/goms · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 271 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 271 Bytes

eHttp

http 服务,使用 gin 框架.

运行服务

cd goms/eHttp/cmd

go run . & 

测试API

http

# 使用 http 方法 GET /ping
curl  localhost:8080/ping

# 使用 http 方法 GET /ping, 参数 message=xxx
curl  localhost:8080/ping?message=xxx
0