gonet

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 16 Imported by: 5

Documentation

Overview

Package gonet contains server and client implementation for go net.

Index

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 NewDialer

func NewDialer() remote.Dialer

NewDialer returns the default go net dialer.

func NewGonetExtension

func NewGonetExtension() trans.Extension

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL