github.com/Cloud-Foundations/Dominator@v0.3.4/imageunpacker/rpcd/associateStreamWithDevice.go (about) 1 package rpcd 2 3 import ( 4 "github.com/Cloud-Foundations/Dominator/lib/srpc" 5 proto "github.com/Cloud-Foundations/Dominator/proto/imageunpacker" 6 ) 7 8 func (t *srpcType) AssociateStreamWithDevice(conn *srpc.Conn, 9 request proto.AssociateStreamWithDeviceRequest, 10 reply *proto.AssociateStreamWithDeviceResponse) error { 11 return t.unpacker.AssociateStreamWithDevice(request.StreamName, 12 request.DeviceId) 13 }