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

Function nativeNetworkChannelPayload

internal/daemon/native_create_tools.go:93–101  ·  view source on GitHub ↗
(entry store.NetworkChannelEntry)

Source from the content-addressed store, hash-verified

91}
92
93func nativeNetworkChannelPayload(entry store.NetworkChannelEntry) map[string]any {
94 return map[string]any{
95 "channel": strings.TrimSpace(entry.Channel),
96 "workspace_id": strings.TrimSpace(entry.WorkspaceID),
97 "purpose": strings.TrimSpace(entry.Purpose),
98 "fanout_policy": store.NormalizeNetworkFanoutPolicy(entry.FanoutPolicy),
99 "coordinator_peer_id": strings.TrimSpace(entry.CoordinatorPeerID),
100 }
101}
102
103func (n *daemonNativeTools) networkChannelUpdate(
104 ctx context.Context,

Callers 2

networkChannelCreateMethod · 0.85
networkChannelUpdateMethod · 0.85

Calls 1

Tested by

no test coverage detected