// WithRequireLeader requires client requests to only succeed // when the cluster has a leader. func WithRequireLeader(ctx context.Context) context.Context { … } // embeds client version func withVersion(ctx context.Context) context.Context { … }
// WithRequireLeader requires client requests to only succeed // when the cluster has a leader. func WithRequireLeader(ctx context.Context) context.Context { … } // embeds client version func withVersion(ctx context.Context) context.Context { … }