72

GitHub - cheikhshift/cleo: A web application used to analyze other web applicati...

 6 years ago
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

  1. Go lang
  2. go-work : install with go get github.com/adjust/go-wrk
  3. $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

  1. Twitter bootstrap beta 4.0.0-beta.2
  2. Angular JS 1.5.6
  3. Momentum
  4. GopherSauce
  5. Chart.js

Screenshots

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK