MCPcopy Create free account
hub / github.com/Authula/authula / LoadPluginConfig

Function LoadPluginConfig

internal/util/config.go:36–59  ·  view source on GitHub ↗

LoadPluginConfig parses the configuration for a specific plugin from the main config. First checks PreParsedConfigs (for type safety when plugins are instantiated manually). Falls back to unmarshalling from Plugins map (for config file loading).

(config *models.Config, pluginID string, target *T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

InitMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92
InitMethod · 0.92

Calls 1

ParsePluginConfigFunction · 0.85

Tested by

no test coverage detected