-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Created function writeResponse to automatically encode an rpc message and write it to the specified io.Writer - Added variable `writer` in main to increase flexibility. This allows us to implement custom writers to communicate with the client.
- Loading branch information
1 parent
06a265a
commit e46a4f9
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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