MCPcopy Create free account
hub / github.com/compozy/agh / networkBasePath

Function networkBasePath

internal/cli/client.go:5713–5719  ·  view source on GitHub ↗
(workspaceRef string)

Source from the content-addressed store, hash-verified

5711}
5712
5713func networkBasePath(workspaceRef string) (string, error) {
5714 workspaceRef, err := requireNetworkPathValue("workspace_id", workspaceRef)
5715 if err != nil {
5716 return "", err
5717 }
5718 return "/api/workspaces/" + url.PathEscape(workspaceRef) + "/network", nil
5719}
5720
5721func hooksBasePath(workspaceRef string) (string, error) {
5722 workspaceRef, err := requireNetworkPathValue("workspace_id", workspaceRef)

Callers 7

NetworkPeersMethod · 0.85
NetworkChannelsMethod · 0.85
CreateNetworkChannelMethod · 0.85
NetworkWorkMethod · 0.85
NetworkSendMethod · 0.85
NetworkInboxMethod · 0.85
networkChannelPathFunction · 0.85

Calls 1

requireNetworkPathValueFunction · 0.85

Tested by

no test coverage detected