Skip to content

Instantly share code, notes, and snippets.

@pravinchandar
Last active July 7, 2022 23:57
Show Gist options
  • Select an option

  • Save pravinchandar/dc1dc50b069a2f1dd128ab7216ad8953 to your computer and use it in GitHub Desktop.

Select an option

Save pravinchandar/dc1dc50b069a2f1dd128ab7216ad8953 to your computer and use it in GitHub Desktop.
// RequestResponse represents the rpc request
type RequestResponse struct {
Req SomeRequestType
Res SomeResponseType
Error error
}
// Process is the jqserver process
type Process struct {
// ReqRespChan is the interface to the jqserver loop
ReqRespChan chan chan RequestResponse
// other exported fields not shown
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment