gonet

package
v0.8.0-fieldmask Latest Latest
Warning

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

Go to latest
Published: Dec 5, 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