MCPcopy Index your code
hub / github.com/coder/coder / Client

Struct Client

agent/agentsocket/client.go:34–37  ·  view source on GitHub ↗

Client provides a client for communicating with the workspace agentsocket API.

Source from the content-addressed store, hash-verified

32
33// Client provides a client for communicating with the workspace agentsocket API.
34type Client struct {
35 client proto.DRPCAgentSocketClient
36 conn drpc.Conn
37}
38
39// NewClient creates a new socket client and opens a connection to the socket.
40// If path is not provided via WithPath or is empty, it will auto-discover the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected