chengxilo opened a new pull request, #2580: URL: https://github.com/apache/iggy/pull/2580
# go leader redirection scenario implement ## What I did 1. Implement Go leader redirection scenario and related logic. 2. Rearranged package layout to avoid cyclic dependencies introduced by the redirection logic. 3. Renamed package iggycli → client (clarifies that this is the Iggy client, instead of CLI) 4. New types like `TransportEndpoints` implement `MarshalBinary`/`UnmarshalBinary`(implement `encoding.BinaryMarshaler`/ `encoding.Unmarshaler` interface) instead of create a function like `SerializeTransportEndpoints`/`DeserializeEndpoints`. We may replace the previous approach later. ## Notes 1. Package rename: code importing `iggycli` must update to `client` 2. Replace the `DeserializeXXX`/`SerializeXXX` with implmenting `MarshalBinary`/`UnmarshalBinary` in the future. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
