Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal: net/rpc: add DialWithCodec, DialHTTPWithCodec, DialHTTPPathWithCodec #56376

Closed
xbt573 opened this issue Oct 21, 2022 · 1 comment
Closed

Comments

@xbt573
Copy link

xbt573 commented Oct 21, 2022

Now, i can't create RPC client with custom codec and path (if i didn't miss anything)
Adding this functions will make this possible
Possible implementations:

DialWithCodec:

// DialWithCodec connects to an RPC server at the specified network address, using given codec.
func DialWithCodec(codec ClientCodec) *Client {
    return NewClientWithCodec(codec)
}
@gopherbot gopherbot added this to the Proposal milestone Oct 21, 2022
@robpike
Copy link
Contributor

robpike commented Oct 21, 2022

As it says in the package comment, "The net/rpc package is frozen and is not accepting new features."

@robpike robpike closed this as completed Oct 21, 2022
@golang golang locked and limited conversation to collaborators Oct 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants