MCPcopy Create free account
hub / github.com/FloatTech/ZeroBot-Plugin-Playground / insertkey

Method insertkey

plugin/chatgpt/model.go:146–154  ·  view source on GitHub ↗
(qquid int64, content string)

Source from the content-addressed store, hash-verified

144}
145
146func (db *model) insertkey(qquid int64, content string) (err error) {
147 db.Lock()
148 defer db.Unlock()
149 m := key{
150 QQuid: qquid,
151 Content: content,
152 }
153 return db.Insert("key", &m)
154}
155
156func (db *model) delkey(gid int64) (err error) {
157 db.Lock()

Callers 1

initFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected