Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client implemented the czar protocol.
type Mux ¶ added in v1.17.1
type Mux struct {
// contains filtered or unexported fields
}
Mux is used to wrap a reliable ordered connection and to multiplex it into multiple streams.
func NewMuxClient ¶ added in v1.17.1
NewMuxClient returns a new MuxClient.
func NewMuxServer ¶ added in v1.17.1
NewMuxServer returns a new MuxServer.
func (*Mux) Accept ¶ added in v1.17.1
Accept is used to block until the next available stream is ready to be accepted.
func (*Mux) Close ¶ added in v1.17.1
Close closes the connection. Any blocked Read or Write operations will be unblocked and return errors.
type Server ¶
Server implemented the czar protocol.
Click to show internal directories.
Click to hide internal directories.