https://github.com/night-codes/expvar
Go expvar wrapper with goroutines and uptime
https://github.com/night-codes/expvar
Last synced: 5 months ago
JSON representation
Go expvar wrapper with goroutines and uptime
- Host: GitHub
- URL: https://github.com/night-codes/expvar
- Owner: night-codes
- License: wtfpl
- Created: 2015-11-11T03:50:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-08T08:03:25.000Z (over 9 years ago)
- Last Synced: 2025-07-16T19:38:48.678Z (12 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# expvar
Go expvar wrapper with goroutines and uptime
## How to use
Add the code to your project:
```go
import "github.com/night-codes/expvar"
expvar.Start(":3000")
```
Next step, use Go-apps console monitoring tool [expvarmon](https://github.com/divan/expvarmon) :
```bash
go get github.com/divan/expvarmon
expvarmon -ports="3000"
```
Read more about [expvars](http://golang.org/pkg/expvar/)
## License
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2015 Oleksiy Chechel
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.