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。
- Host: GitHub
- URL: https://github.com/chengwenxi/thrift-web-go
- Owner: chengwenxi
- Created: 2018-06-14T10:16:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-15T03:53:12.000Z (about 8 years ago)
- Last Synced: 2024-06-20T06:24:02.144Z (about 2 years ago)
- Topics: golang, thrift, web
- Language: JavaScript
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```