Alex Bramley
|
c400a2141a
|
Run gofmt over code, it's been a while.
|
2011-09-12 23:25:09 +01:00 |
Alex Bramley
|
b8c3f42252
|
Better line ending handling in MockNetConn.
|
2011-08-24 12:45:32 +01:00 |
Alex Bramley
|
59b18b038b
|
MockNetConn: Add ExpectNothing() helper.
|
2011-08-23 10:44:14 +01:00 |
Alex Bramley
|
bd388db1cc
|
MockNetConn: Use correct os.Errors in Read/Write.
|
2011-08-23 10:43:48 +01:00 |
Alex Bramley
|
020730aca1
|
MockNetConn: Wrap all channel reads in selects; send EOF on Close(); kill goroutines correctly.
|
2011-08-23 10:42:54 +01:00 |
Alex Bramley
|
0d7d875b9f
|
Add Send method for mockNetConn, and make Read/Write return errors when closed.
|
2011-08-22 23:22:46 +01:00 |
Alex Bramley
|
425557e8bd
|
Create a simple mock that implements net.Conn.
|
2011-08-21 13:38:12 +01:00 |