gorush/vendor/gopkg.in/appleboy/gin-status-api.v1/README.md

30 lines
1.1 KiB
Markdown
Raw Normal View History

# gin-status-api
Golang cpu, memory, gc, etc information api handler written in Go (Golang) for [Gin](https://github.com/gin-gonic/gin) framework
[![GoDoc](https://godoc.org/github.com/appleboy/gin-status-api?status.svg)](https://godoc.org/github.com/appleboy/gin-status-api) [![Build Status](https://travis-ci.org/appleboy/gin-status-api.svg?branch=master)](https://travis-ci.org/appleboy/gin-status-api) [![Go Report Card](https://goreportcard.com/badge/github.com/appleboy/gin-status-api)](https://goreportcard.com/report/github.com/appleboy/gin-status-api) [![Coverage Status](https://coveralls.io/repos/github/appleboy/gin-status-api/badge.svg?branch=master)](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).
![response screenshot](screenshot/response.png)