MCPcopy
hub / github.com/pocketbase/pocketbase / Set

Method Set

tools/subscriptions/client.go:236–241  ·  view source on GitHub ↗

Set implements the [Client.Set] interface method.

(key string, value any)

Source from the content-addressed store, hash-verified

234
235// Set implements the [Client.Set] interface method.
236func (c *DefaultClient) Set(key string, value any) {
237 c.mu.Lock()
238 defer c.mu.Unlock()
239
240 c.store[key] = value
241}
242
243// Unset implements the [Client.Unset] interface method.
244func (c *DefaultClient) Unset(key string) {

Calls

no outgoing calls