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

Function sortedChildKeys

agent/app/service/agents_channels.go:1489–1496  ·  view source on GitHub ↗
(values map[string]interface{})

Source from the content-addressed store, hash-verified

1487}
1488
1489func sortedChildKeys(values map[string]interface{}) []string {
1490 keys := make([]string, 0, len(values))
1491 for key := range values {
1492 keys = append(keys, key)
1493 }
1494 sort.Strings(keys)
1495 return keys
1496}
1497
1498func extractDisplayName(values map[string]interface{}, fallback string, accountID string) string {
1499 name := extractStringValue(values["name"])

Callers 5

extractFeishuConfigFunction · 0.85
extractTelegramConfigFunction · 0.85
extractDiscordConfigFunction · 0.85
extractQQBotConfigFunction · 0.85
extractDingTalkConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected