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

Struct protoServer

provisionersdk/session.go:23–26  ·  view source on GitHub ↗

protoServer is a wrapper that translates the dRPC protocol into a Session with method calls into the Server.

Source from the content-addressed store, hash-verified

21
22// protoServer is a wrapper that translates the dRPC protocol into a Session with method calls into the Server.
23type protoServer struct {
24 server Server
25 opts ServeOptions
26}
27
28func (p *protoServer) Session(stream proto.DRPCProvisioner_SessionStream) error {
29 sessID := uuid.New().String()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected