package
0.0.0-20240428053021-e691de28565f
Repository: https://github.com/sagernet/gvisor.git
Documentation: pkg.go.dev

# Functions

NewClient returns a new client.
NewServer returns a new server.
NewServerWithCallback returns a new server, who upon completion of each RPC calls the given function.

# Variables

ErrTooManyFiles is returned when too many file descriptors are mapped.
ErrUnknownMethod is returned when a method is not known.

# Structs

Client is a urpc client.
FilePayload may be _embedded_ in another type in order to send or receive a file as a result of an RPC.
RemoteError is an error returned by the remote invocation.
Server is an RPC server.

# Interfaces

Stopper is an optional interface, that when implemented, allows an object to have a callback executed when the server is shutting down.