health

package
v0.0.0-...-a77eb0c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package health 在线用户数监控

Package health - 服务健康状态监控

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Quantity

func Quantity(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

Quantity 数量监控

func Status

Status 服务状态监控

Types

type SessionQuntity

type SessionQuntity struct {
	TotalSession int64 `json:"total_session"` // 总会话数量
}

SessionQuntity 会话数量结构

type SessionStatus

type SessionStatus struct {
	IsRunning bool `json:"is_running"` // 运行状态
}

SessionStatus 会话状态结构

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL