MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / extractFeishuPluginEnabled

Function extractFeishuPluginEnabled

agent/app/service/agents_channels.go:773–778  ·  view source on GitHub ↗
(conf map[string]interface{}, defaultValue bool)

Source from the content-addressed store, hash-verified

771}
772
773func extractFeishuPluginEnabled(conf map[string]interface{}, defaultValue bool) bool {
774 plugins := childMap(conf, "plugins")
775 entries := childMap(plugins, "entries")
776 lark := childMap(entries, "openclaw-lark")
777 return extractBoolValue(lark["enabled"], defaultValue)
778}
779
780func setFeishuPluginEnabled(conf map[string]interface{}, enabled bool) {
781 plugins := ensureChildMap(conf, "plugins")

Callers 1

extractFeishuConfigFunction · 0.85

Calls 2

childMapFunction · 0.85
extractBoolValueFunction · 0.85

Tested by

no test coverage detected