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

Function peerChannelKey

internal/network/peer.go:909–911  ·  view source on GitHub ↗
(workspaceID string, channel string)

Source from the content-addressed store, hash-verified

907}
908
909func peerChannelKey(workspaceID string, channel string) string {
910 return strings.TrimSpace(workspaceID) + "\x00" + strings.TrimSpace(channel)
911}
912
913func splitPeerChannelKey(key string) (string, string) {
914 workspaceID, channel, ok := strings.Cut(key, "\x00")

Callers 12

LocalPeersMethod · 0.85
RefreshRemoteDetailedMethod · 0.85
RemoteByPeerMethod · 0.85
LookupPresenceMethod · 0.85
ListChannelsMethod · 0.85
lookupLocalLockedMethod · 0.85
deleteRemoteLockedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected