30 lines
1.1 KiB
Markdown
30 lines
1.1 KiB
Markdown
|
# gin-status-api
|
||
|
|
||
|
Golang cpu, memory, gc, etc information api handler written in Go (Golang) for [Gin](https://github.com/gin-gonic/gin) framework
|
||
|
|
||
|
[](https://godoc.org/github.com/appleboy/gin-status-api) [](https://travis-ci.org/appleboy/gin-status-api) [](https://goreportcard.com/report/github.com/appleboy/gin-status-api) [](https://coveralls.io/github/appleboy/gin-status-api?branch=master)
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
Downladn this package.
|
||
|
|
||
|
```bash
|
||
|
$ go get gopkg.in/appleboy/gin-status-api.v1
|
||
|
```
|
||
|
|
||
|
To import this package, add the following line to your code:
|
||
|
|
||
|
```go
|
||
|
import "gopkg.in/appleboy/gin-status-api.v1"
|
||
|
```
|
||
|
|
||
|
## Example
|
||
|
|
||
|
Please see [example](example/server.go).
|
||
|
|
||
|
## Response
|
||
|
|
||
|
Please read [detail information](https://github.com/fukata/golang-stats-api-handler#toc3).
|
||
|
|
||
|

|