ruleiface

package
v0.0.0-...-6003426 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckIface

type CheckIface interface {
	CheckRule() error
	CheckParam() error
}

type RuleIface

type RuleIface interface {
	Add(key string, obj interface{})
	SetIn(in *ruleparam.RuleParams)

	GetParam(key string) *ruleparam.RuleParams
	SetParam(key string, params *ruleparam.RuleParams)
	GetReturn() (any, string)
	GetReturnValue() any
	GetReturnMsg() string
	GetRuleCtx() *rulectx.RuleCtx
	DoRule(ruleData *ruledata.RuleData) (*rulectx.RuleCtx, error)

	Log() string
	ValueOfOut(key string) *ruleparam.RuleParam
}

@Title 文件名称: rule_iface.go @Description 描述: 规则引擎的接口

@Author 作者: leijianming@163.com 时间(2024-02-18 22:38:21)

@Update 作者: leijianming@163.com 时间(2024-02-18 22:38:21)

Jump to

Keyboard shortcuts

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