Refactor shim terminal and io handling
This also finishes the service implementation of the shim behind GRPC Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
6e9e0a895a
commit
d5d2e586cd
12 changed files with 547 additions and 630 deletions
|
@ -52,7 +52,9 @@ func main() {
|
|||
}
|
||||
var (
|
||||
server = grpc.NewServer()
|
||||
sv = &service{}
|
||||
sv = &service{
|
||||
processes: make(map[int]process),
|
||||
}
|
||||
)
|
||||
shim.RegisterShimServiceServer(server, sv)
|
||||
l, err := utils.CreateUnixSocket("shim.sock")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue