package
0.0.0-20200619094715-fb44d4c3f772
Repository: https://github.com/devsisters/goquic.git
Documentation: pkg.go.dev

# README

SPDY/QUIC enabled server/client written in Go

We currently have server, client, and reverse proxy implementation.

How to build

Due to Go 1.4's cgo restrictions, use an environment variable like below to build your projects. This restriction will be removed from Go 1.5.

CGO_CFLAGS="-I$GOPATH/src/github.com/devsisters/goquic/libquic/boringssl/include"
CGO_LDFLAGS="-L$GOPATH/src/github.com/devsisters/goquic/lib/$GOOS_$GOARCH"

go build $GOPATH/src/github.com/devsisters/goquic/example/server.go
go build $GOPATH/src/github.com/devsisters/goquic/example/client.go
go build $GOPATH/src/github.com/devsisters/goquic/example/reverse_proxy.go

For example, building goquic example server in Mac:

CGO_CFLAGS="-I$GOPATH/src/github.com/devsisters/goquic/libquic/boringssl/include" \
CGO_LDFLAGS="-L$GOPATH/src/github.com/devsisters/goquic/lib/darwin_amd64" \
go build $GOPATH/src/github.com/devsisters/goquic/example/server.go

In Linux:

CGO_CFLAGS="-I$GOPATH/src/github.com/devsisters/goquic/libquic/boringssl/include" \
CGO_LDFLAGS="-L$GOPATH/src/github.com/devsisters/goquic/lib/linux_amd64" \
go build $GOPATH/src/github.com/devsisters/goquic/example/server.go

# Structs

No description provided by the author