Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/appleboy/gin-status-api

Golang cpu, memory, gc, etc information api handler written in Go (Golang) for gin framework
https://github.com/appleboy/gin-status-api

gin golang

Last synced: 21 days ago
JSON representation

Golang cpu, memory, gc, etc information api handler written in Go (Golang) for gin framework

Awesome Lists containing this project

README

        

# 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)
[![Run Tests](https://github.com/appleboy/gin-status-api/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/appleboy/gin-status-api/actions/workflows/go.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/appleboy/gin-status-api)](https://goreportcard.com/report/github.com/appleboy/gin-status-api)
[![codecov](https://codecov.io/gh/appleboy/gin-status-api/branch/master/graph/badge.svg)](https://codecov.io/gh/appleboy/gin-status-api)

## Usage

Downladn this package.

```bash
go get github.com/appleboy/gin-status-api
```

To import this package, add the following line to your code:

```go
import "github.com/appleboy/gin-status-api"
```

## 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)