type clientCodec …
func NewClientCodec(conn io.ReadWriteCloser) rpc.ClientCodec { … }
type clientRequest …
func (c *clientCodec) WriteRequest(r *rpc.Request, param any) error { … }
type clientResponse …
func (r *clientResponse) reset() { … }
func (c *clientCodec) ReadResponseHeader(r *rpc.Response) error { … }
func (c *clientCodec) ReadResponseBody(x any) error { … }
func (c *clientCodec) Close() error { … }
func NewClient(conn io.ReadWriteCloser) *rpc.Client { … }
func Dial(network, address string) (*rpc.Client, error) { … }