MCPcopy Index your code
hub / github.com/pocketbase/pocketbase / Id

Method Id

tools/subscriptions/client.go:102–107  ·  view source on GitHub ↗

Id implements the [Client.Id] interface method.

()

Source from the content-addressed store, hash-verified

100
101// Id implements the [Client.Id] interface method.
102func (c *DefaultClient) Id() string {
103 c.mu.RLock()
104 defer c.mu.RUnlock()
105
106 return c.id
107}
108
109// Channel implements the [Client.Channel] interface method.
110func (c *DefaultClient) Channel() chan Message {

Callers 6

TestClientByIdFunction · 0.95
TestRegisterFunction · 0.95
TestUnregisterFunction · 0.95
TestNewDefaultClientFunction · 0.95
TestRealtimeSubscribeFunction · 0.95

Calls

no outgoing calls

Tested by 6

TestClientByIdFunction · 0.76
TestRegisterFunction · 0.76
TestUnregisterFunction · 0.76
TestNewDefaultClientFunction · 0.76
TestRealtimeSubscribeFunction · 0.76