{"modulePath":"github.com/docker/compose-cli","version":"v1.0.7","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package proxy\n\n## Functions\n\n```go\nfunc Client(ctx context.Context) *client.Client\n```\nClient returns the client from the context\n\n```go\nfunc WithClient(ctx context.Context, c *client.Client) context.Context\n```\nWithClient adds the client to the context\n\n## Types\n\n```go\ntype Proxy interface {\n\tcomposev1.ComposeServer\n\tcontainersv1.ContainersServer\n\tstreamsv1.StreamingServer\n\tvolumesv1.VolumesServer\n\tContextsProxy() contextsv1.ContextsServer\n}\n```\nProxy implements the gRPC server and forwards the actions to the right backend\n\n```go\nfunc New(ctx context.Context) Proxy\n```\nNew creates a new proxy server\n\n","path":"github.com/docker/compose-cli/server/proxy","name":"proxy","synopsis":"","isRedistributable":true}
