ipriv

package
v0.0.0-...-5eebaeb Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 1 Imported by: 0

README

私有扩展

此为目录结构示意,存放第三方私有扩展代码。:默认实现为直接指令扩展。

Documentation

Overview

Package ipriv 私有扩展区(EX_PRIV)。 默认实现: 按直接扩展指令对待,索引目标即为指令本身。

Index

Constants

View Source
const (
	PrivHello = iota
)

目标标识值。 即 EX_PRIV[] 下标值,定位目标指令。

Variables

View Source
var ExPrivNames = []string{
	PrivHello: "Hello",
}

目标(函数)名定义。

Functions

This section is empty.

Types

type Instx

type Instx = ibase.Instx

指令配置器引用。

func GetInstx

func GetInstx(i int, data any) Instx

获取目标指令配置对。 i 为扩展目标索引。 data 为扩展目标关联数据。 注: 默认实现为直接指令扩展,data为nil(无意义)。

Jump to

Keyboard shortcuts

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