Last active
July 7, 2022 23:57
-
-
Save pravinchandar/dc1dc50b069a2f1dd128ab7216ad8953 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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