MCPcopy Create free account
hub / github.com/ConnectAI-E/Feishu-OpenAI-Stream-Chatbot / GetMsgCache

Function GetMsgCache

code/services/msgCache.go:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func GetMsgCache() MsgCacheInterface {
33 if msgService == nil {
34 msgService = &MsgService{cache: cache.New(30*time.Minute, 30*time.Minute)}
35 }
36 return msgService
37}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected