MCPcopy Create free account
hub / github.com/eth-easl/dirigent / AsyncProxyingService

Struct AsyncProxyingService

internal/data_plane/proxy/async_proxy_handler.go:50–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48)
49
50type AsyncProxyingService struct {
51 Host string
52 Port string
53 PortRead string
54 Cache *common.Deployments
55 CPInterface proto.CpiInterfaceClient
56 LoadBalancingPolicy load_balancing.LoadBalancingPolicy
57
58 Tracing *tracing.TracingService[tracing.ProxyLogEntry]
59
60 RequestChannel chan *requests.BufferedRequest
61 Responses map[string]*requests.BufferedResponse
62 ResponsesLock sync.RWMutex
63
64 Persistence request_persistence.RequestPersistence
65 AllowedRetries int
66}
67
68func (ps *AsyncProxyingService) GetCpApiServer() proto.CpiInterfaceClient {
69 return ps.CPInterface

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected