MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / NewMemoryStore

Function NewMemoryStore

internal/inbounds/memory.go:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12}
13
14func NewMemoryStore() *MemoryStore {
15 return &MemoryStore{
16 inbounds: make(map[string]Inbound),
17 hosts: make(map[string]Host),
18 }
19}
20
21func (s *MemoryStore) UpsertInbound(inbound Inbound) (Inbound, error) {
22 s.mu.Lock()

Calls

no outgoing calls