var metadataFromOutgoingContextRaw …
type StreamHandler …
type StreamDesc …
type Stream …
type ClientStream …
func (cc *ClientConn) NewStream(ctx context.Context, desc *StreamDesc, method string, opts ...CallOption) (ClientStream, error) { … }
func NewClientStream(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, opts ...CallOption) (ClientStream, error) { … }
func newClientStream(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, opts ...CallOption) (_ ClientStream, err error) { … }
func newClientStreamWithParams(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, mc serviceconfig.MethodConfig, onCommit, doneFunc func(), opts ...CallOption) (_ iresolver.ClientStream, err error) { … }
func (cs *clientStream) newAttemptLocked(isTransparent bool) (*csAttempt, error) { … }
func (a *csAttempt) getTransport() error { … }
func (a *csAttempt) newStream() error { … }
type clientStream …
type csAttempt …
func (cs *clientStream) commitAttemptLocked() { … }
func (cs *clientStream) commitAttempt() { … }
func (a *csAttempt) shouldRetry(err error) (bool, error) { … }
func (cs *clientStream) retryLocked(attempt *csAttempt, lastErr error) error { … }
func (cs *clientStream) Context() context.Context { … }
func (cs *clientStream) withRetry(op func(a *csAttempt) error, onSuccess func()) error { … }
func (cs *clientStream) Header() (metadata.MD, error) { … }
func (cs *clientStream) Trailer() metadata.MD { … }
func (cs *clientStream) replayBufferLocked(attempt *csAttempt) error { … }
func (cs *clientStream) bufferForRetryLocked(sz int, op func(a *csAttempt) error) { … }
func (cs *clientStream) SendMsg(m any) (err error) { … }
func (cs *clientStream) RecvMsg(m any) error { … }
func (cs *clientStream) CloseSend() error { … }
func (cs *clientStream) finish(err error) { … }
func (a *csAttempt) sendMsg(m any, hdr, payld, data []byte) error { … }
func (a *csAttempt) recvMsg(m any, payInfo *payloadInfo) (err error) { … }
func (a *csAttempt) finish(err error) { … }
func newNonRetryClientStream(ctx context.Context, desc *StreamDesc, method string, t transport.ClientTransport, ac *addrConn, opts ...CallOption) (_ ClientStream, err error) { … }
type addrConnStream …
func (as *addrConnStream) Header() (metadata.MD, error) { … }
func (as *addrConnStream) Trailer() metadata.MD { … }
func (as *addrConnStream) CloseSend() error { … }
func (as *addrConnStream) Context() context.Context { … }
func (as *addrConnStream) SendMsg(m any) (err error) { … }
func (as *addrConnStream) RecvMsg(m any) (err error) { … }
func (as *addrConnStream) finish(err error) { … }
type ServerStream …
type serverStream …
func (ss *serverStream) Context() context.Context { … }
func (ss *serverStream) SetHeader(md metadata.MD) error { … }
func (ss *serverStream) SendHeader(md metadata.MD) error { … }
func (ss *serverStream) SetTrailer(md metadata.MD) { … }
func (ss *serverStream) SendMsg(m any) (err error) { … }
func (ss *serverStream) RecvMsg(m any) (err error) { … }
func MethodFromServerStream(stream ServerStream) (string, bool) { … }
func prepareMsg(m any, codec baseCodec, cp Compressor, comp encoding.Compressor) (hdr, payload, data []byte, err error) { … }