MCPcopy
hub / github.com/google/gvisor / Server

Struct Server

pkg/control/server/server.go:41–50  ·  view source on GitHub ↗

Server is a basic control server.

Source from the content-addressed store, hash-verified

39
40// Server is a basic control server.
41type Server struct {
42 // socket is our bound socket.
43 socket *unet.ServerSocket
44
45 // server is our rpc server.
46 server atomic.Pointer[urpc.Server]
47
48 // wg waits for the accept loop to terminate.
49 wg sync.WaitGroup
50}
51
52// New returns a new bound control server.
53func New(socket *unet.ServerSocket) *Server {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected