rulectx

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectRuleCtx

func InjectRuleCtx(s *RuleCtx)

func LoadRuleCtx

func LoadRuleCtx() baseiface.ISingleton

Types

type RuleCtx

type RuleCtx struct {
	basedto.BaseEntity `json:"-"`

	*context.DataContext `json:"-"`
	//入参
	In *ruleparam.RuleParams
	//出参
	Out *ruleparam.RuleParams
}

func FindBeanRuleCtx

func FindBeanRuleCtx() *RuleCtx

func (*RuleCtx) AddAll

func (self *RuleCtx) AddAll() *RuleCtx

func (*RuleCtx) BuildFunc

func (ruleCtx *RuleCtx) BuildFunc() map[string]any

func (*RuleCtx) GetIn

func (self *RuleCtx) GetIn(key string) *ruleparam.RuleParam

func (*RuleCtx) GetInAny

func (self *RuleCtx) GetInAny(key string) any

func (*RuleCtx) GetOut

func (self *RuleCtx) GetOut() *ruleparam.RuleParams

func (*RuleCtx) GetParam

func (self *RuleCtx) GetParam(key string) reflect.Value

func (*RuleCtx) GetReturnMsg

func (self *RuleCtx) GetReturnMsg() any

func (*RuleCtx) GetReturnValue

func (self *RuleCtx) GetReturnValue() any

func (*RuleCtx) Info

func (self *RuleCtx) Info() string

func (*RuleCtx) LogInfo

func (self *RuleCtx) LogInfo() string

func (*RuleCtx) PrintCtxt

func (self *RuleCtx) PrintCtxt()

func (*RuleCtx) PrintLn

func (self *RuleCtx) PrintLn(s ...any)

func (*RuleCtx) PrintOut

func (self *RuleCtx) PrintOut()

func (*RuleCtx) PrintReturnValue

func (self *RuleCtx) PrintReturnValue()

func (*RuleCtx) SetIn

func (self *RuleCtx) SetIn(in *ruleparam.RuleParams)

func (*RuleCtx) SetInParam

func (self *RuleCtx) SetInParam(key string, value any)

func (*RuleCtx) SetOut

func (self *RuleCtx) SetOut(out *ruleparam.RuleParams)

func (*RuleCtx) SetOutParam

func (self *RuleCtx) SetOutParam(key string, value any)

func (*RuleCtx) SetParam

func (self *RuleCtx) SetParam(key string, value *ruleparam.RuleParams)

func (*RuleCtx) SetReturn

func (self *RuleCtx) SetReturn(value any, msg string)

func (*RuleCtx) SetReturnMsg

func (self *RuleCtx) SetReturnMsg(value string)

func (*RuleCtx) SetReturnValue

func (self *RuleCtx) SetReturnValue(value any)

func (*RuleCtx) ToJsonStr

func (self *RuleCtx) ToJsonStr() string

func (*RuleCtx) ToPrettyString

func (self *RuleCtx) ToPrettyString() string

Jump to

Keyboard shortcuts

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