MCPcopy Create free account
hub / github.com/modelcontextprotocol/go-sdk / StringID

Function StringID

internal/jsonrpc2/messages.go:82–82  ·  view source on GitHub ↗

StringID creates a new string request identifier.

(s string)

Source from the content-addressed store, hash-verified

80
81// StringID creates a new string request identifier.
82func StringID(s string) ID { return ID{value: s} }
83
84// Int64ID creates a new integer request identifier.
85func Int64ID(i int64) ID { return ID{value: i} }

Callers 2

newIDFunction · 0.92
MakeIDFunction · 0.85

Calls

no outgoing calls

Tested by 1

newIDFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…