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

Skip to content
  • Latest commit

     

    History

    History

    eHttp

    Folders and files

    NameName
    Last commit message
    Last commit date

    parent directory

    ..
     
     
     
     
     
     
     
     

    README.md

    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