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

Interface Config

bridge/config/config.go:240–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240type Config interface {
241 Viper() *viper.Viper
242 BridgeValues() *BridgeValues
243 IsKeySet(key string) bool
244 GetBool(key string) (bool, bool)
245 GetInt(key string) (int, bool)
246 GetString(key string) (string, bool)
247 GetStringSlice(key string) ([]string, bool)
248 GetStringSlice2D(key string) ([][]string, bool)
249}
250
251type config struct {
252 sync.RWMutex

Callers 50

NewFunction · 0.65
checkConfigMethod · 0.65
mainFunction · 0.95
NewRouterFunction · 0.65
disableBridgeMethod · 0.65
handleFilesMethod · 0.65
handleFilesUploadMethod · 0.65
handleFilesLocalMethod · 0.65
AddBridgeMethod · 0.65
modifyMessageMethod · 0.65
IsKeySetMethod · 0.65
getAllowedMentionsMethod · 0.65

Implementers 1

configbridge/config/config.go

Calls

no outgoing calls

Tested by

no test coverage detected