Change 10476

brettb (Brett Bates)
Brett Bates committed this change into //guest/brettb/gop4
Request Review
Download .zip
Still just a thought exercise but now uses the length correctly, and composes the request
   The encoder and decoder bits don't really mirror eachother, just wrote the quickest bit of code possible

   For an actual, non-messy, useful, golike api would make the buffer readers and writers implement
   their io counterparts, should also be able to create multiple connections, which would return a
   goroutine with channels for encoding decoding etc.
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
connect.go#2
Loading...
Tip: Use n and p to cycle through the changes.