mirror of
https://gitee.com/johng/gf
synced 2026-06-29 02:26:29 +08:00
Add configurable default endpoint and metadata support to nacos Registry, providing a more flexible alternative to hardcoded environment variable reads. - Add defaultEndpoint and defaultMetadata fields to Registry struct - Add SetDefaultEndpoint method to override service endpoints - Add SetDefaultMetadata method to merge extra metadata - Update Register method to use configured defaults --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: houseme <housemecn@gmail.com>