Skip to content

It is a Framework that supports both RESTful and non-RESTful API.

Notifications You must be signed in to change notification settings

zebozhuang/RESTful-Go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. It is a server providing restful api and non-restful api

2. It is a demo.

3. Support

  • Listen http port
  • Listen unix sock
  • handle restful api
  • handle non-restful api

4.usage

    go run server.go
    curl http://127.0.0.1/api/foo
    curl -XPOST http://127.0.0.1/api/foo

5.Todo

1.wrap request and reponse as context
2.support middleware
3.support render web page 
4...
...

About

It is a Framework that supports both RESTful and non-RESTful API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published