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

https://github.com/chengwenxi/thrift-web-go

demo for browser connect golang web server with thrift, also an vue example。
https://github.com/chengwenxi/thrift-web-go

golang thrift web

Last synced: 5 months ago
JSON representation

demo for browser connect golang web server with thrift, also an vue example。

Awesome Lists containing this project

README

          

# thrift-web-go

thrift version = 0.11.0

### Use thrift
```bash
thrift --gen go *.thrift
thrift --gen js *.thrift
thrift --gen js:node *.thrift
```

### Run go server

```bash
dep ensure
go run main.go
```

## Run vue client
```bash
yarn
yarn serve
```