Juan Batiz-Benet
555bc871fc
bugfixes to prev commit
2014-10-09 04:53:02 -07:00
Juan Batiz-Benet
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
Juan Batiz-Benet
77fccaa2f3
Obviated need for .ID.Pretty() all over the place.
2014-10-06 04:23:55 -07:00
Juan Batiz-Benet
910a76e220
updated multiaddr use across codebase
2014-10-06 04:13:43 -07:00
Juan Batiz-Benet
198b6e2bae
remove stale TODO
2014-09-26 23:55:28 -07:00
Juan Batiz-Benet
c1219303a0
fixed muxer errors
2014-09-26 03:57:34 -07:00
Juan Batiz-Benet
e6b96b9c75
ammend tests with changes
2014-09-26 02:41:46 -07:00
Juan Batiz-Benet
53f0b117f5
update net with peerstore
2014-09-26 02:41:46 -07:00
Brian Tiger Chow
e2a9c5de00
feat(net:service, routing) remove error return value
2014-09-24 23:35:36 -04:00
Brian Tiger Chow
cb968c62e8
chore(net:swarm) temporarily skip test
...
failing due to nil pointer dereference
2014-09-22 04:29:25 -07:00
Brian Tiger Chow
7cac1ef93d
fix(net:swarm) test... use netmsg interface
2014-09-22 04:27:18 -07:00
Juan Batiz-Benet
9dd39de491
Fixed connections all over.
2014-09-22 04:06:12 -07:00
Juan Batiz-Benet
f7634611e6
secured net logs
2014-09-22 04:06:12 -07:00
Juan Batiz-Benet
313f3c83c8
muxer construction
2014-09-22 04:05:23 -07:00
Juan Batiz-Benet
700b6ab99f
remove start
2014-09-22 04:05:23 -07:00
Juan Batiz-Benet
25d0ce8fdd
NoResponse service
2014-09-22 04:05:23 -07:00
Juan Batiz-Benet
69b1ce42d9
nil muxer
2014-09-22 04:05:23 -07:00
Brian Tiger Chow
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
Juan Batiz-Benet
bccb3e871b
goroutine note comment
2014-09-22 04:05:16 -07:00
Juan Batiz-Benet
865109f562
expose handler in inet
2014-09-22 04:05:16 -07:00
Juan Batiz-Benet
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
Juan Batiz-Benet
c7148cd83c
Service: remove RequestID from SendMessage
2014-09-22 04:05:16 -07:00
Juan Batiz-Benet
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
Juan Batiz-Benet
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
Brian Tiger Chow
b17bc2d54c
feat(net:service) add sender interface
2014-09-22 04:05:15 -07:00
Brian Tiger Chow
68216245c6
fix(net) use NetMessage interface
2014-09-22 04:05:15 -07:00
Brian Tiger Chow
add0f3f935
feat(net:message) get net package from e2430ae427
...
fix(net:msg) use vendored imports
2014-09-22 04:05:13 -07:00
Juan Batiz-Benet
f71be6e9cc
merge wind HoC
2014-09-22 04:05:13 -07:00
Juan Batiz-Benet
67e76c0acc
godeps multiaddr + swarm move.
2014-09-22 04:05:12 -07:00
Juan Batiz-Benet
2b03664ae4
net interface
2014-09-22 04:05:12 -07:00
Juan Batiz-Benet
a273a03efc
remove handshake for now (need to merge and move)
2014-09-22 04:05:12 -07:00
Juan Batiz-Benet
453a66709f
moved stuff
2014-09-22 04:05:12 -07:00
Juan Batiz-Benet
0ac4a2ba93
swarm rewrite, doesnt yet work (tests)
2014-09-22 04:05:12 -07:00
Juan Batiz-Benet
035d600f28
Godeps: use in net + new multiaddr
2014-09-22 04:05:12 -07:00
Juan Batiz-Benet
06b651c454
Service + request
2014-09-22 04:05:12 -07:00
Juan Batiz-Benet
ffad3bb6af
removed logging in conn_test
2014-09-22 04:05:12 -07:00
Juan Batiz-Benet
c59125b64c
moved conn to own pkg
2014-09-22 04:05:12 -07:00
Juan Batiz-Benet
5c79fc48e2
message pkg
2014-09-22 04:05:12 -07:00
Juan Batiz-Benet
be01dcf172
mux test stop.
2014-09-22 04:05:12 -07:00
Juan Batiz-Benet
161f8158a8
added mux
2014-09-22 04:05:11 -07:00