Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zebozhuang/restful-go
It is a Framework that supports both RESTful and non-RESTful API.
https://github.com/zebozhuang/restful-go
Last synced: 11 days ago
JSON representation
It is a Framework that supports both RESTful and non-RESTful API.
- Host: GitHub
- URL: https://github.com/zebozhuang/restful-go
- Owner: zebozhuang
- Created: 2015-04-12T15:58:27.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-03-05T07:30:51.000Z (almost 7 years ago)
- Last Synced: 2024-11-15T04:48:57.689Z (2 months ago)
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### 1. It is a server providing restful api and non-restful api
#### 2. It is a demo.
#### 3. Support- [x] Listen http port
- [x] Listen unix sock
- [x] handle restful api
- [x] 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...
...
```