component

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: 1 Imported by: 0

README

内部组件

该处存放的都是和Rulex相关的内部组件。

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XComponent

type XComponent interface {
	Init(cfg map[string]any) error      // 配置
	Start(r typex.RuleX) error          // 启动
	Stop() error                        // 停止
	PluginMetaInfo() XComponentMetaInfo // 元信息
}

* * RULEX 系统组件 *

type XComponentMetaInfo

type XComponentMetaInfo struct {
	UUID    string `json:"uuid"`    // UUID
	Name    string `json:"name"`    // 组件名
	Version string `json:"version"` // 版本
}

Directories

Path Synopsis
docs
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
* * RhinoPi 硬件接口相关管理 * 警告:此处会随着硬件不同而不兼容,要移植的时候记得统一一下目标硬件的端口 *
* * RhinoPi 硬件接口相关管理 * 警告:此处会随着硬件不同而不兼容,要移植的时候记得统一一下目标硬件的端口 *
apis
RhinoH3 固件相关操作
RhinoH3 固件相关操作
dto

Jump to

Keyboard shortcuts

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