package
0.0.0-20240430162428-577c8c7c7d01
Repository: https://github.com/hashicorp/consul-net-rpc.git
Documentation: pkg.go.dev
# Functions
Dial connects to an RPC server at the specified network address.
DialHTTP connects to an HTTP RPC server at the specified network address listening on the default HTTP RPC path.
DialHTTPPath connects to an HTTP RPC server at the specified network address and path.
NewClient returns a new Client to handle requests to the set of services at the other end of the connection.
NewClientWithCodec is like NewClient but uses the specified codec to encode requests and decode responses.
NewServer returns a new Server.
NewServerWithOpts returns a new Server with the following functional options.
No description provided by the author
No description provided by the author
# Variables
DefaultServer is the default instance of *Server.
No description provided by the author
# Interfaces
A ClientCodec implements writing of RPC requests and reading of RPC responses for the client side of an RPC session.
A ServerCodec implements reading of RPC requests and writing of RPC responses for the server side of an RPC session.
# Type aliases
PreBodyInterceptor acts a middleware hook on the server side of the RPC call that executes as early as possible in the flow of execution.
ServerError represents an error that has been returned from the remote side of the RPC connection.
ServerServiceCallInterceptor acts a middleware hook on the server side of the RPC call.