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

Struct BaseMiddleware

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

BaseMiddleware 基础中间件实现 提供默认的空实现,子类只需覆盖需要的方法

Source from the content-addressed store, hash-verified

102// BaseMiddleware 基础中间件实现
103// 提供默认的空实现,子类只需覆盖需要的方法
104type BaseMiddleware struct {
105 name string
106 priority int
107}
108
109// NewBaseMiddleware 创建基础中间件
110func NewBaseMiddleware(name string, priority int) *BaseMiddleware {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected