Documentation
¶
Index ¶
Constants ¶
View Source
const (
TraceMessageOperationName = "grpc.message"
)
Variables ¶
View Source
var ( RequestHeadersResourceName = "RequestHeaders" RequestBodyResourceName = "RequestBody" RequestTrailersResourceName = "RequestTrailers" ResponseHeadersResourceName = "ResponseHeaders" ResponseBodyResourceName = "ResponseBody" ResponseTrailersResourceName = "ResponseTrailers" StreamCompleteResourceName = "StreamComplete" )
Functions ¶
func IgnoreCanceled ¶
IgnoreCanceled returns nil if the error is a context.Canceled error or an io.EOF error.
Types ¶
type ExtProcessor ¶
type ExtProcessor struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...Option) *ExtProcessor
func (*ExtProcessor) Process ¶
func (svc *ExtProcessor) Process(procsrv extproc.ExternalProcessor_ProcessServer) error
Process is the main entry point for the ExternalProcessor service. The protocol itself is based on a bidirectional gRPC stream. Envoy will send the server ProcessingRequest messages, and the server must reply with ProcessingResponse. https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#envoy-v3-api-msg-extensions-filters-http-ext-proc-v3-externalfilter
Click to show internal directories.
Click to hide internal directories.