Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewManualResolver ¶
FIX: NewManualResolver now performs an upsert instead of always creating a new resolver. On re-dial (e.g., after client.Close() + client.Dial()), the scheme+service pair already exists in the resolver map from the first dial. The original code rejected this with "Resolver already registered" — but this is a legitimate reconnect scenario.
Now: if a resolver already exists for the scheme+service, we update its state with the new addresses. If it doesn't exist, we create and register a new one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.