MCPcopy
hub / github.com/42wim/matterbridge / GetConfigKey

Method GetConfigKey

bridge/bridge.go:89–91  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

87}
88
89func (b *Bridge) GetConfigKey(key string) string {
90 return b.Account + "." + key
91}
92
93func (b *Bridge) IsKeySet(key string) bool {
94 return b.Config.IsKeySet(b.GetConfigKey(key)) || b.Config.IsKeySet("general."+key)

Callers 7

IsKeySetMethod · 0.95
GetBoolMethod · 0.95
GetIntMethod · 0.95
GetStringMethod · 0.95
GetStringSliceMethod · 0.95
GetStringSlice2DMethod · 0.95
NewFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected