supervisor

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

README

资源守护

用来守护监控系统内各种资源的存活状态。因为之前的老版本依赖Http组件,存在高耦合情况,所以需要单独优化,现阶段暂未启用,等以后的版本逐步优化.

Documentation

Overview

Copyright (C) 2023 wwhai

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartDeviceSupervisor

func StartDeviceSupervisor(ctx context.Context, device *typex.Device, ruleEngine typex.RuleX)

func StartInSupervisor

func StartInSupervisor(ctx context.Context, in *typex.InEnd, ruleEngine typex.RuleX)

func StartOutSupervisor

func StartOutSupervisor(ctx context.Context, out *typex.OutEnd, ruleEngine typex.RuleX)

Types

This section is empty.

Jump to

Keyboard shortcuts

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