Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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...
...
```