api

package
v0.0.0-...-11e63cd Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MulanPSL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHost

func AddHost(c echo.Context) error

AddHost 添加主机配置 创建 初始化的 ping 总结

func ClearAllSummaries

func ClearAllSummaries(c echo.Context) error

ClearAllSummaries 清零所有计数器

func CountPingRecords

func CountPingRecords(c echo.Context) error

CountPingRecords 返回记录的数量

func DelHost

func DelHost(c echo.Context) error

DelHost 删除主机 删除主机的配置,ping总结,ping记录

func GetHost

func GetHost(c echo.Context) error

func GetHosts

func GetHosts(c echo.Context) error

GetHosts 列出所有的主机配置

func GetPingRecords

func GetPingRecords(c echo.Context) error

GetPingRecords 列出记录

func GetPingSummaries

func GetPingSummaries(c echo.Context) error

GetPingerSummaries 列出所有的总结

func GetRunningHostsIPs

func GetRunningHostsIPs(c echo.Context) error

GetRunningHostsIPs 列出所有的主机配置

func SetHostRunningStatus

func SetHostRunningStatus(c echo.Context) error

SetHostRunningStatus 启动或停止pinger

func SetPingSummaryComment

func SetPingSummaryComment(c echo.Context) error

SetPingSummaryComment 设置备注

func UpdateHost

func UpdateHost(c echo.Context) error

UpdateHost 更新主机配置

func WsBroLatestPingSummaries

func WsBroLatestPingSummaries(c echo.Context) error

WsBroLatestPingSummaries 通过websocket广播最新的 pinger 结果

Types

This section is empty.

Jump to

Keyboard shortcuts

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