MCPcopy Create free account
hub / github.com/astercloud/aster / Priority

Method Priority

pkg/middleware/interface.go:79–79  ·  view source on GitHub ↗

Priority 返回优先级 (数值越小优先级越高,越早执行) 建议范围: 0-1000 0-100: 系统核心中间件 100-500: 功能中间件 500-1000: 用户自定义中间件

()

Source from the content-addressed store, hash-verified

77 // 100-500: 功能中间件
78 // 500-1000: 用户自定义中间件
79 Priority() int
80
81 // Tools 注入工具列表
82 // 返回中间件提供的工具,会被合并到 Agent 的工具集中

Callers 4

NewStackFunction · 0.65
middlewareExampleFunction · 0.65

Implementers 1

BaseMiddlewarepkg/middleware/interface.go

Calls

no outgoing calls

Tested by 2