RuleGo RuleGo
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文

广告采用随机轮播方式显示 ❤️成为赞助商
  • Quick Start

  • Rule Chain

  • Standard Components

  • Extension Components

  • Custom Components

  • Components marketplace

  • Visualization

    • Visualization Overview
    • RuleGo-Editor
    • Get Component Configuration Forms
    • Get Rule Chain Configuration
    • Get Rule Chain Node Configuration
    • Batch Initialize Rule Chain
    • Delete Rule Chain Instance
    • Save Rule Chain Coordinate Information
    • Component Form Conventions
  • AOP

  • Trigger

  • Advanced Topic

  • RuleGo-Server

  • FAQ

  • Endpoint Module

  • Support

Get Rule Chain Configuration

Get the specified instantiated rule chain configuration. Used for rule chain visual configuration echo.

func (e *RuleEngine) DSL() []byte 
1
  • Return: Rule chain instantiation configuration content (JSON structure).

Example:

// Get the rule chain instance that has been created by the rule chain ID
ruleEngine,_:rulego.Get(chainId)
// Get the rule chain instance configuration
def = ruleEngine.DSL()
fmt.Println(string(def))
1
2
3
4
5

The rule chain configuration supports dynamic updates, dynamic replacement of business logic and component configuration, refer to the documentation. Used for rule chain modification.

Edit this page on GitHub (opens new window)
Last Updated: 2025/04/02, 01:29:50
Get Component Configuration Forms
Get Rule Chain Node Configuration

← Get Component Configuration Forms Get Rule Chain Node Configuration→

Theme by Vdoing | Copyright © 2023-2025 RuleGo Team | Apache 2.0 License

  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式