Commit Graph
21 Commits
Author SHA1 Message Date
Michael Bridgen 27beebf5d5 Factor out the wait-for-interface code 2014-11-03 17:47:16 +00:00
Matthias Radestock 6393e545ae introduce 'weave connect' to connect a running router to other peers
Getting this to work with 'wget' is just too cumbersome especially
when it comes to getting the error message out. So 'curl' only.
2014-10-27 09:15:14 +00:00
Matthias Radestock acbabc4f9e s/StatusPort/HttpPort
since we are adding functionality other than status
2014-10-27 08:22:22 +00:00
Matthias Radestock a587fef9c4 fix package name following move 2014-10-15 15:20:49 +01:00
Bryan Boreham 8de22f4bf1 reformat 2014-10-10 12:28:52 +01:00
Bryan Boreham be39cb01bd Resolve peer names to IP address at startup 2014-10-10 12:22:01 +01:00
Matthias Radestock 02efccc36a cosmetic 2014-09-23 16:18:00 +01:00
Bryan Boreham 0d3eebb208 Change -wait from bool to int number of seconds to wait 2014-09-22 16:48:55 +01:00
Bryan Boreham 5b93577054 log.Fatal() does os.Exit(1) so we don't need to do it again 2014-09-22 16:42:18 +01:00
Bryan Boreham e51f89268c Stop waiting for interface after 5 seconds 2014-09-18 05:50:13 +01:00
Bryan Boreham 16e9daf057 Reformatted with 'go fmt' 2014-09-08 16:25:55 +01:00
Bryan Boreham dec794eb72 Remove all references to PeerName in ConnectionMaker 2014-09-08 15:05:50 +01:00
Bryan Boreham a5be96d35f Kick off the first connection attempt to each peer using ConnectionMaker instead of calling CreateConnection directly. 2014-09-05 11:11:38 +01:00
Bryan Boreham c930ef38dc Improved error message on http ListenAndServe 2014-09-04 14:59:48 +01:00
Bryan Boreham 04ca3d2469 Addressed various points raised in review: error-handling, simplified Fprint call 2014-09-04 14:44:42 +01:00
Bryan Boreham 43d8781fdd Merge remote-tracking branch 'upstream/master' into 11_http_interface
Conflicts:
	consts.go
	weaver/weave
2014-09-04 13:02:14 +01:00
Matthias Radestock 971f6a63fd Turns out one OS thread isn't enough 2014-08-31 14:43:06 +01:00
Bryan Boreham 3942f19897 Remove boilerplate and condense the http handler down to one function.
Also fixed indenting on one line in shell script.
2014-08-29 15:26:04 +01:00
Bryan Boreham 94e00e2c8e ran 'go fmt'; cosmetic changes 2014-08-29 14:51:31 +01:00
Bryan Boreham a113da0e34 Added a new command 'weave status', implemented via an http listener #11 2014-08-29 14:44:50 +01:00
Matthias Radestock 6320866961 rename exe to 'weaver' and script to 'weave' 2014-08-21 16:05:17 +01:00