Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a DRPC server that handles multiplexed streams
func New ¶
New returns a new multiplexed Server that serves handler
func NewWithOptions ¶
func NewWithOptions(handler drpc.Handler, opts drpcserver.Options) *Server
NewWithOptions is the same as New but passes options to DRPC
func (*Server) Serve ¶
Serve listens on the given listener and handles all multiplexed streams.
Click to show internal directories.
Click to hide internal directories.