Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelableClientStream ¶ added in v0.16.0
type CancelableClientStream interface {
CancelWithErr(err error)
}
CancelableClientStream is implemented by client-side Stream of gRPC in transport layer. It terminates the local stream's lifecycle and cancels the remote peer.
type StreamEventHandler ¶
StreamEventHandler is used to handle stream events Deprecated: using HandleStreamRecvEvent/HandleStreamSendEvent in pkg/rpcinfo/ClientStreamEventHandler or pkg/rpcinfo/ServerStreamEventHandler directly
type StreamingConfig ¶
type StreamingConfig struct {
RecvMiddlewareBuilders []endpoint.RecvMiddlewareBuilder
RecvMiddlewares []endpoint.RecvMiddleware
SendMiddlewareBuilders []endpoint.SendMiddlewareBuilder
SendMiddlewares []endpoint.SendMiddleware
}
func (*StreamingConfig) BuildRecvInvokeChain ¶
func (c *StreamingConfig) BuildRecvInvokeChain() endpoint.RecvEndpoint
func (*StreamingConfig) BuildSendInvokeChain ¶
func (c *StreamingConfig) BuildSendInvokeChain() endpoint.SendEndpoint
func (*StreamingConfig) InitMiddlewares ¶
func (c *StreamingConfig) InitMiddlewares(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.