MCPcopy Index your code
hub / github.com/DoNewsCode/core / Module

Struct Module

config/module.go:21–25  ·  view source on GitHub ↗

Module is the configuration module that bundles the reload watcher and exportConfig commands. This module triggers ReloadedEvent on configuration change.

Source from the content-addressed store, hash-verified

19// Module is the configuration module that bundles the reload watcher and exportConfig commands.
20// This module triggers ReloadedEvent on configuration change.
21type Module struct {
22 conf *KoanfAdapter
23 exportedConfigs []ExportedConfig
24 dispatcher contract.Dispatcher
25}
26
27// ConfigIn is the injection parameter for config.New.
28type ConfigIn struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected