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

Method setkey

plugin/baiduaudit/model.go:111–116  ·  view source on GitHub ↗
(k1, k2 string)

Source from the content-addressed store, hash-verified

109}
110
111func (kc *keyConfig) setkey(k1, k2 string) {
112 kc.mu.Lock()
113 defer kc.mu.Unlock()
114 kc.Key1 = k1
115 kc.Key2 = k2
116}
117
118// 加载JSON配置文件
119func (kc *keyConfig) load(filename string) error {

Callers 1

initFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected