72
GitHub - cheikhshift/cleo: A web application used to analyze other web applicati...
source link: https://github.com/cheikhshift/cleo
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
A web application used to analyze other web applications written in Go. It generates LARs (long-ass reports) of tests performed.
Updates :
- Inspect CPU times.
- Test applications built and deployed at external locations. This application must have
pprof
handlers available.
Requirements
- Go lang
- go-work : install with
go get github.com/adjust/go-wrk
- $GOPATH set. Guide here. On windows install
go
with Choco to skip this step.
Install
Install with :
$ go get github.com/cheikhshift/cleo
Launch
Run the following command to launch application :
$ cleo
Go project setup
Your Go web application should retrieve the port number to listen on from env. variable $PORT.
Example
...
port := ":defaultport"
if envport := os.ExpandEnv("$PORT"); envport != "" {
port = fmt.Sprintf(":%s", envport)
}
...
log.Fatal(http.ListenAndServe(port, nil) )
Projects used
- Twitter bootstrap beta 4.0.0-beta.2
- Angular JS 1.5.6
- Momentum
- GopherSauce
- Chart.js
Screenshots
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK