MCPcopy
hub / github.com/grpc/grpc-go / interceptorList

Struct interceptorList

internal/xds/resolver/xds_resolver.go:654–656  ·  view source on GitHub ↗

interceptorList is a client interceptor that contains a list of client interceptors to execute in order.

Source from the content-addressed store, hash-verified

652// interceptorList is a client interceptor that contains a list of client
653// interceptors to execute in order.
654type interceptorList struct {
655 interceptors []iresolver.ClientInterceptor
656}
657
658func (il *interceptorList) NewStream(ctx context.Context, ri iresolver.RPCInfo, _ func(), newStream func(ctx context.Context, _ func()) (iresolver.ClientStream, error)) (iresolver.ClientStream, error) {
659 for idx := len(il.interceptors) - 1; idx >= 0; idx-- {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected