MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Pipeline

Struct Pipeline

sdk/translator/pipeline.go:35–39  ·  view source on GitHub ↗

Pipeline orchestrates request/response transformation with middleware support.

Source from the content-addressed store, hash-verified

33
34// Pipeline orchestrates request/response transformation with middleware support.
35type Pipeline struct {
36 registry *Registry
37 requestMiddleware []RequestMiddleware
38 responseMiddleware []ResponseMiddleware
39}
40
41// NewPipeline constructs a pipeline bound to the provided registry.
42func NewPipeline(registry *Registry) *Pipeline {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected