chore: add route.ApplyConfig for CMFA

This commit is contained in:
wwqgtxx
2024-08-31 19:23:40 +08:00
parent f6164ac195
commit 6306c6b580
6 changed files with 174 additions and 118 deletions

View File

@@ -77,7 +77,7 @@ func ParseWithBytes(buf []byte) (*config.Config, error) {
return config.Parse(buf)
}
// ApplyConfig dispatch configure to all parts
// ApplyConfig dispatch configure to all parts without ExternalController
func ApplyConfig(cfg *config.Config, force bool) {
mux.Lock()
defer mux.Unlock()