Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gongluck/cghttp
封装go的http模块成C接口
https://github.com/gongluck/cghttp
c cgo go http
Last synced: 3 months ago
JSON representation
封装go的http模块成C接口
- Host: GitHub
- URL: https://github.com/gongluck/cghttp
- Owner: gongluck
- License: mit
- Created: 2020-06-13T12:21:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-18T10:50:35.000Z (over 4 years ago)
- Last Synced: 2024-05-13T00:47:49.605Z (6 months ago)
- Topics: c, cgo, go, http
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-golang-repositories - cghttp
README
# cghttp
封装go的http模块成C接口## windows动态库
```
go build -buildmode=c-shared -o http.dll
dlltool -dllname http.dll --def http.def --output-lib http.lib
```## ~~windows静态库(无法使用)~~
```
go build -buildmode=c-archive -o http.lib
```