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

Function ParsePluginConfig

internal/util/config.go:17–31  ·  view source on GitHub ↗

ParsePluginConfig is a utility function to parse plugin configuration from the generic config map. It uses mapstructure with custom decode hooks to handle: - Time duration strings (e.g., "5m", "300s") via StringToTimeDurationHookFunc - Comma-separated string slices via StringToSliceHookFunc

(source any, target any)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

plugin_factory.goFile · 0.92
LoadPluginConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected