Simple implementation of HTTP2 in Golang
$ go get github.com/ami-GS/GoHPACK
$ go get github.com/ami-GS/simpleHTTP2
or
$ go get github.com/mattn/gom
$ gom install
$ cd $GOPATH/src/github.com/ami-GS/simpleHTTP2/example
- Server
$ go run serv_Try.go <server port>
- Client
$ go run cli_Try.go <server ip> <server port>
Client Server
----------------------------------------->
connection preface
----------------------------------------->
Settings frame
<-----------------------------------------
Settings frame (Flag ACK)
----------------------------------------->
Headers frame (Flag END_HEADERS)
<-----------------------------------------
Data frame
----------------------------------------->
GoAway frame
- Implement stream state
- Colorize output string
The MIT License (MIT) Copyright (c) 2015 ami-GS