MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / FormatSessionID

Function FormatSessionID

datagramsession/manager.go:27–31  ·  view source on GitHub ↗
(sessionID uuid.UUID)

Source from the content-addressed store, hash-verified

25)
26
27func FormatSessionID(sessionID uuid.UUID) string {
28 sessionIDStr := sessionID.String()
29 sessionIDStr = strings.ReplaceAll(sessionIDStr, "-", "")
30 return sessionIDStr
31}
32
33// Manager defines the APIs to manage sessions from the same transport.
34type Manager interface {

Callers 5

RegisterUdpSessionMethod · 0.92
serveUDPSessionMethod · 0.92
closeUDPSessionMethod · 0.92
newSessionMethod · 0.85
sendToSessionMethod · 0.85

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected