Skip to content

day253/go-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-boilerplate

Installation

init makefile

include Makefile.mk
Makefile.mk:
	curl -o Makefile.mk -L "https://raw.githubusercontent.com/day253/go-boilerplate/master/Makefile.mk"
wget -O Makefile "https://raw.githubusercontent.com/day253/go-boilerplate/master/Makefile.mk"

tcpcopy

https://github.com/buger/goreplay/wiki/%5BPRO%5D-Replaying-Binary-protocols

https://github.com/buger/goreplay/wiki/Compilation

./server --port 8888 &
./server --port 9999 &
./gor --input-raw :8888 --input-raw-protocol binary --output-binary :9999 &
./client --qps 5000

reference

Standard Go Project Layout

control.sh from baidu

About

go-boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published