Documentation
¶
Index ¶
- func InjectRuleCtx(s *RuleCtx)
- func LoadRuleCtx() baseiface.ISingleton
- type RuleCtx
- func (self *RuleCtx) AddAll() *RuleCtx
- func (ruleCtx *RuleCtx) BuildFunc() map[string]any
- func (self *RuleCtx) GetIn(key string) *ruleparam.RuleParam
- func (self *RuleCtx) GetInAny(key string) any
- func (self *RuleCtx) GetOut() *ruleparam.RuleParams
- func (self *RuleCtx) GetParam(key string) reflect.Value
- func (self *RuleCtx) GetReturnMsg() any
- func (self *RuleCtx) GetReturnValue() any
- func (self *RuleCtx) Info() string
- func (self *RuleCtx) LogInfo() string
- func (self *RuleCtx) PrintCtxt()
- func (self *RuleCtx) PrintLn(s ...any)
- func (self *RuleCtx) PrintOut()
- func (self *RuleCtx) PrintReturnValue()
- func (self *RuleCtx) SetIn(in *ruleparam.RuleParams)
- func (self *RuleCtx) SetInParam(key string, value any)
- func (self *RuleCtx) SetOut(out *ruleparam.RuleParams)
- func (self *RuleCtx) SetOutParam(key string, value any)
- func (self *RuleCtx) SetParam(key string, value *ruleparam.RuleParams)
- func (self *RuleCtx) SetReturn(value any, msg string)
- func (self *RuleCtx) SetReturnMsg(value string)
- func (self *RuleCtx) SetReturnValue(value any)
- func (self *RuleCtx) ToJsonStr() string
- func (self *RuleCtx) ToPrettyString() string
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) GetOut ¶
func (self *RuleCtx) GetOut() *ruleparam.RuleParams
func (*RuleCtx) GetReturnMsg ¶
func (*RuleCtx) GetReturnValue ¶
func (*RuleCtx) PrintReturnValue ¶
func (self *RuleCtx) PrintReturnValue()
func (*RuleCtx) SetIn ¶
func (self *RuleCtx) SetIn(in *ruleparam.RuleParams)
func (*RuleCtx) SetInParam ¶
func (*RuleCtx) SetOut ¶
func (self *RuleCtx) SetOut(out *ruleparam.RuleParams)
func (*RuleCtx) SetOutParam ¶
func (*RuleCtx) SetReturnMsg ¶
func (*RuleCtx) SetReturnValue ¶
func (*RuleCtx) ToPrettyString ¶
Click to show internal directories.
Click to hide internal directories.