Documentation ¶
Overview ¶
Package gonet contains server and client implementation for go net.
Index ¶
- func NewBufferReadWriter(irw io.ReadWriter) remote.ByteBuffer
- func NewBufferReader(ir io.Reader) remote.ByteBuffer
- func NewBufferWriter(iw io.Writer) remote.ByteBuffer
- func NewCliTransHandlerFactory() remote.ClientTransHandlerFactory
- func NewDialer() remote.Dialer
- func NewGonetExtension() trans.Extension
- func NewSvrTransHandlerFactory() remote.ServerTransHandlerFactory
- func NewTransServerFactory() remote.TransServerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBufferReadWriter ¶
func NewBufferReadWriter(irw io.ReadWriter) remote.ByteBuffer
NewBufferReadWriter creates a new remote.ByteBuffer using the given netpoll.ZeroCopyReadWriter.
func NewBufferReader ¶
func NewBufferReader(ir io.Reader) remote.ByteBuffer
NewBufferReader creates a new remote.ByteBuffer using the given netpoll.ZeroCopyReader.
func NewBufferWriter ¶
func NewBufferWriter(iw io.Writer) remote.ByteBuffer
NewBufferWriter creates a new remote.ByteBuffer using the given netpoll.ZeroCopyWriter.
func NewCliTransHandlerFactory ¶
func NewCliTransHandlerFactory() remote.ClientTransHandlerFactory
NewCliTransHandlerFactory returns a new remote.ClientTransHandlerFactory for go net.
func NewGonetExtension ¶
NewGonetExtension to build new gonetConnExtension which implements trans.Extension
func NewSvrTransHandlerFactory ¶
func NewSvrTransHandlerFactory() remote.ServerTransHandlerFactory
NewSvrTransHandlerFactory creates a default go net server transport handler factory.
func NewTransServerFactory ¶
func NewTransServerFactory() remote.TransServerFactory
NewTransServerFactory creates a default go net transport server factory.
Types ¶
This section is empty.