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

Method SetBridgeURL

pkg/tools/bridge/runtime.go:107–109  ·  view source on GitHub ↗

SetBridgeURL 设置 HTTP 桥接服务器地址 (PTC 支持)

(url string)

Source from the content-addressed store, hash-verified

105
106// SetBridgeURL 设置 HTTP 桥接服务器地址 (PTC 支持)
107func (r *PythonRuntime) SetBridgeURL(url string) {
108 r.bridgeURL = url
109}
110
111func (r *PythonRuntime) Execute(ctx context.Context, code string, input map[string]any) (*ExecutionResult, error) {
112 start := time.Now()

Callers 4

TestPTCIntegrationFunction · 0.95
mainFunction · 0.95
SetPythonBridgeURLMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestPTCIntegrationFunction · 0.76