Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MaxMessageSize is the maximum payload size that can be // transported without error. MaxMessageSize = 4 << 20 )
Variables ¶
This section is empty.
Functions ¶
func DefaultDRPCOptions ¶
func DefaultDRPCOptions(options *drpcmanager.Options) drpcmanager.Options
func MultiplexedConn ¶
MultiplexedConn returns a multiplexed dRPC connection from a yamux Session.
func NewServer ¶ added in v2.29.20
func NewServer(logger slog.Logger, handler drpc.Handler, options drpcserver.Options) *drpcserver.Server
NewServer constructs a dRPC server that recovers panics from RPC handlers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.