Created
February 4, 2022 08:33
-
-
Save rueian/bcb78c5ef360f246115fbfa37ea1b419 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
| func reading(incoming *bufio.Reader) error { | |
| for { | |
| resp, err := readResponse(incoming) | |
| if err != nil { | |
| return err | |
| } | |
| // find the original caller and send the response to it | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment