netpoll

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 21 Imported by: 9

Documentation

Overview

Package netpoll contains server and client implementation for netpoll.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCliTransHandlerFactory

func NewCliTransHandlerFactory() remote.ClientTransHandlerFactory

NewCliTransHandlerFactory returns a new remote.ClientTransHandlerFactory for netpoll.

func NewDialer

func NewDialer() remote.Dialer

NewDialer returns the default netpoll dialer.

func NewHTTPCliTransHandlerFactory

func NewHTTPCliTransHandlerFactory() remote.ClientTransHandlerFactory

NewHTTPCliTransHandlerFactory creates a netpoll http client transport handler factory.

func NewNetpollConnExtension

func NewNetpollConnExtension() trans.Extension

NewNetpollConnExtension to build new netpollConnExtension which implements trans.Extension

func NewReaderByteBuffer

func NewReaderByteBuffer(r netpoll.Reader) remote.ByteBuffer

NewReaderByteBuffer creates a new remote.ByteBuffer using the given netpoll.ZeroCopyReader.

func NewReaderWriterByteBuffer

func NewReaderWriterByteBuffer(rw netpoll.ReadWriter) remote.ByteBuffer

NewReaderWriterByteBuffer creates a new remote.ByteBuffer using the given netpoll.ZeroCopyReadWriter.

func NewSvrTransHandlerFactory

func NewSvrTransHandlerFactory() remote.ServerTransHandlerFactory

NewSvrTransHandlerFactory creates a default netpoll server transport handler factory.

func NewTransServerFactory

func NewTransServerFactory() remote.TransServerFactory

NewTransServerFactory creates a default netpoll transport server factory.

func NewWriterByteBuffer

func NewWriterByteBuffer(w netpoll.Writer) remote.ByteBuffer

NewWriterByteBuffer creates a new remote.ByteBuffer using the given netpoll.ZeroCopyWriter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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