mirror of
https://github.com/alibaba/higress.git
synced 2026-05-28 14:47:29 +08:00
refactor(v2): upgrade module to github.com/alibaba/higress/v2 (#2922)
Signed-off-by: Xijun Dai <daixijun1990@gmail.com>
This commit is contained in:
@@ -13,10 +13,12 @@ import (
|
||||
"github.com/envoyproxy/envoy/contrib/golang/common/go/api"
|
||||
)
|
||||
|
||||
const Name = "mcp-session"
|
||||
const Version = "1.0.0"
|
||||
const ConfigPathSuffix = "/config"
|
||||
const DefaultServerName = "higress-mcp-server"
|
||||
const (
|
||||
Name = "mcp-session"
|
||||
Version = "1.0.0"
|
||||
ConfigPathSuffix = "/config"
|
||||
DefaultServerName = "higress-mcp-server"
|
||||
)
|
||||
|
||||
var GlobalSSEPathSuffix = "/sse"
|
||||
|
||||
@@ -35,8 +37,7 @@ func (c *config) Destroy() {
|
||||
}
|
||||
}
|
||||
|
||||
type Parser struct {
|
||||
}
|
||||
type Parser struct{}
|
||||
|
||||
// Parse the filter configuration
|
||||
func (p *Parser) Parse(any *anypb.Any, callbacks api.ConfigCallbackHandler) (interface{}, error) {
|
||||
|
||||
Reference in New Issue
Block a user