Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
111
func
(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配置文件
119
func
(kc *keyConfig) load(filename string) error {
Callers
1
init
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected