0bd64e7f71
move net -> multiaddr/net
...
transition our use of the net package to multiaddr/net
2014-10-11 03:24:35 -07:00
917be90437
updated multiaddr for net pkg
2014-10-11 03:07:36 -07:00
26c4e5004c
handler fixes for tests
2014-10-10 20:48:20 -07:00
338b037238
clean up and add inet.Network to bitswap
...
new Service interface
2014-10-10 20:43:04 -07:00
a7b69500b1
address concerns in PR and make log stuff more fun
2014-10-10 13:18:20 -07:00
280c7e7e06
implement diagnostics service
2014-10-10 13:18:19 -07:00
555bc871fc
bugfixes to prev commit
2014-10-09 04:53:02 -07:00
972c0f7b4b
u.DOut -> log.Debug
...
and other logging switches. I kept the u.PErr and u.POut in cli
commands, as those do need to write raw output directly.
2014-10-09 04:50:22 -07:00
77fccaa2f3
Obviated need for .ID.Pretty()
all over the place.
2014-10-06 04:23:55 -07:00
910a76e220
updated multiaddr use across codebase
2014-10-06 04:13:43 -07:00
198b6e2bae
remove stale TODO
2014-09-26 23:55:28 -07:00
c1219303a0
fixed muxer errors
2014-09-26 03:57:34 -07:00
e6b96b9c75
ammend tests with changes
2014-09-26 02:41:46 -07:00
53f0b117f5
update net with peerstore
2014-09-26 02:41:46 -07:00
e2a9c5de00
feat(net:service, routing) remove error return value
2014-09-24 23:35:36 -04:00
cb968c62e8
chore(net:swarm) temporarily skip test
...
failing due to nil pointer dereference
2014-09-22 04:29:25 -07:00
7cac1ef93d
fix(net:swarm) test... use netmsg interface
2014-09-22 04:27:18 -07:00
9dd39de491
Fixed connections all over.
2014-09-22 04:06:12 -07:00
f7634611e6
secured net logs
2014-09-22 04:06:12 -07:00
313f3c83c8
muxer construction
2014-09-22 04:05:23 -07:00
700b6ab99f
remove start
2014-09-22 04:05:23 -07:00
25d0ce8fdd
NoResponse service
2014-09-22 04:05:23 -07:00
69b1ce42d9
nil muxer
2014-09-22 04:05:23 -07:00
503b1aa79e
feat(net:service) add SetHandler method
...
Allows the service to be used through an interface.
NB: If the handler is exposed directly, clients of the service cannot swap out their concrete references and replace them with interfaces
2014-09-22 04:05:18 -07:00
bccb3e871b
goroutine note comment
2014-09-22 04:05:16 -07:00
865109f562
expose handler in inet
2014-09-22 04:05:16 -07:00
9849794b07
Move Sender interface to network pkg
...
@perfmode sender is exactly what we need to pass in to dht/bitswap.
2014-09-22 04:05:16 -07:00
c7148cd83c
Service: remove RequestID from SendMessage
2014-09-22 04:05:16 -07:00
cb230b69a2
bugfix: service has a Start func
...
We were issuing handling goroutines in both NewService and Start
2014-09-22 04:05:16 -07:00
f9650a7906
allow service to have nil handler
...
@perfmode this means we can create a Service first, give it to
the network and protocol (removing interdep).
2014-09-22 04:05:16 -07:00
b17bc2d54c
feat(net:service) add sender interface
2014-09-22 04:05:15 -07:00
68216245c6
fix(net) use NetMessage interface
2014-09-22 04:05:15 -07:00
add0f3f935
feat(net:message) get net package from e2430ae4279
...
fix(net:msg) use vendored imports
2014-09-22 04:05:13 -07:00
f71be6e9cc
merge wind HoC
2014-09-22 04:05:13 -07:00
67e76c0acc
godeps multiaddr + swarm move.
2014-09-22 04:05:12 -07:00
2b03664ae4
net interface
2014-09-22 04:05:12 -07:00
a273a03efc
remove handshake for now (need to merge and move)
2014-09-22 04:05:12 -07:00
453a66709f
moved stuff
2014-09-22 04:05:12 -07:00
0ac4a2ba93
swarm rewrite, doesnt yet work (tests)
2014-09-22 04:05:12 -07:00
035d600f28
Godeps: use in net + new multiaddr
2014-09-22 04:05:12 -07:00
06b651c454
Service + request
2014-09-22 04:05:12 -07:00
ffad3bb6af
removed logging in conn_test
2014-09-22 04:05:12 -07:00
c59125b64c
moved conn to own pkg
2014-09-22 04:05:12 -07:00
5c79fc48e2
message pkg
2014-09-22 04:05:12 -07:00
be01dcf172
mux test stop.
2014-09-22 04:05:12 -07:00
161f8158a8
added mux
2014-09-22 04:05:11 -07:00