github.com/racerxdl/gonx@v0.0.0-20210103083128-c5afc43bcbd2/services/ipc/response.go (about)

     1  package ipc
     2  
     3  import (
     4  	"github.com/racerxdl/gonx/nx/nxtypes"
     5  )
     6  
     7  // ResponseFmt Describes format expectations for an incoming IPC response
     8  //
     9  // Represents the expectations for an IPC response and contains pointers to buffers for
    10  // response data to be written to.
    11  type ResponseFmt struct {
    12  	CopyHandles []nxtypes.Handle
    13  	MoveHandles []nxtypes.Handle
    14  	Objects     []Object
    15  	RawData     []byte
    16  	HasPID      bool
    17  	PID         *uint64
    18  }