Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveRegistry ¶
func ResolveRegistry(in RegistryInput) (*url.URL, error)
ResolveRegistry 组装服务注册端点 URL。
scheme 由调用方负责完整提供(含 TLS 升级,如 "grpcs"、"https")。 query 会合并到结果 URL 的查询参数中,传 nil 表示无额外参数。 host 为空时返回 nil(不向注册中心注册端点)。
Types ¶
Click to show internal directories.
Click to hide internal directories.