ui

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModule

func GetModule() model.Module

GetModule 获取模块实例

Types

type UIModule

type UIModule struct {
	ThrowException bool // 是否抛出异常
	ShowWarning    bool // 是否显示警告信息
	Debug          bool // 是否开启调试模式(打印脚本堆栈信息)
}

UIModule ui 模块(懒人精灵兼容)

func New

func New() *UIModule

New 创建一个新的 UIModule 实例

func (*UIModule) IsAvailable

func (m *UIModule) IsAvailable() bool

IsAvailable 检查模块是否可用

func (*UIModule) Name

func (m *UIModule) Name() string

Name 返回模块名称

func (*UIModule) Register

func (m *UIModule) Register(engine model.Engine) error

Register 向引擎注册方法

Jump to

Keyboard shortcuts

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