Documentation ¶
Overview ¶
Package nphttp2 transport powered by netpoll
Index ¶
- Variables
- func NewCliTransHandlerFactory() remote.ClientTransHandlerFactory
- func NewConnPool(remoteService string) *connPool
- func NewStream(ctx context.Context, svcInfo *serviceinfo.ServiceInfo, conn net.Conn, ...) streaming.Stream
- func NewSvrTransHandlerFactory() remote.ServerTransHandlerFactory
- type Streamer
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnimplemented = errors.New("unimplemented")
ErrUnimplemented return unimplemented error
Functions ¶
func NewCliTransHandlerFactory ¶
func NewCliTransHandlerFactory() remote.ClientTransHandlerFactory
NewCliTransHandlerFactory ...
func NewStream ¶
func NewStream(ctx context.Context, svcInfo *serviceinfo.ServiceInfo, conn net.Conn, handler remote.TransReadWriter) streaming.Stream
NewStream ...
func NewSvrTransHandlerFactory ¶
func NewSvrTransHandlerFactory() remote.ServerTransHandlerFactory
NewSvrTransHandlerFactory ...
Types ¶
type Streamer ¶
type Streamer func(ctx context.Context, svcInfo serviceinfo.ServiceInfo, conn net.Conn, handler remote.TransReadWriter) streaming.Stream
Streamer Stream creator
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package codes defines the canonical error codes used by gRPC.
|
Package codes defines the canonical error codes used by gRPC. |
Package grpc defines and implements message oriented communication channel to complete various transactions (e.g., an RPC).
|
Package grpc defines and implements message oriented communication channel to complete various transactions (e.g., an RPC). |
Package metadata define the structure of the metadata supported by gRPC library.
|
Package metadata define the structure of the metadata supported by gRPC library. |
Package status implements errors returned by gRPC.
|
Package status implements errors returned by gRPC. |
Click to show internal directories.
Click to hide internal directories.