mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-28 03:51:08 +01:00
renamed ProxyEntry to RawEntry to avoid confusion with src/proxy/entry.go
This commit is contained in:
@@ -164,8 +164,8 @@ func (cfg *Config) Statistics() map[string]any {
|
||||
}
|
||||
}
|
||||
|
||||
func (cfg *Config) DumpEntries() map[string]*M.ProxyEntry {
|
||||
entries := make(map[string]*M.ProxyEntry)
|
||||
func (cfg *Config) DumpEntries() map[string]*M.RawEntry {
|
||||
entries := make(map[string]*M.RawEntry)
|
||||
cfg.forEachRoute(func(alias string, r R.Route, p *PR.Provider) {
|
||||
entries[alias] = r.Entry()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user