Commit Graph

185 Commits

Author SHA1 Message Date
87b56d46ac Use tunnel transport and set server address 2019-08-27 13:21:36 +01:00
371b23d055 Introduce DefaultLink; dont hardcode name of the link 2019-08-27 11:36:46 +01:00
f97565ef0a Merge pull request from milosgajdos83/default-network
Default network implementation
2019-08-27 11:02:55 +01:00
ed8d28c9ab Set Route.Link to "network" not Route.Network. Oops! 2019-08-23 21:08:18 +01:00
88e47b9b06 Dont bail when unable to resolve network nodes. 2019-08-23 17:48:14 +01:00
1b0295de0d Add a static network node resolver 2019-08-23 17:24:21 +01:00
9448d7c164 Set Route.Network to "network" and Router.Gateway to network.Address 2019-08-23 16:01:57 +01:00
8c3eec9f2a Set the default resolver to registry 2019-08-23 15:14:16 +01:00
e53484302c Added ControlChannel tunnel.Listener to process incoming messages 2019-08-23 15:14:16 +01:00
db89fc4efe Set server name to the correct value. 2019-08-23 15:14:16 +01:00
e1599b0f17 Set server name. Set default network name. 2019-08-23 15:14:16 +01:00
a09d5d2e9a Add Address method. Start and Stop router/server. 2019-08-23 15:14:16 +01:00
6c1f1d66f7 Switch received messages on the right header 2019-08-23 15:14:16 +01:00
a6e1287b27 Replaced incorrect proto import path 2019-08-23 15:14:15 +01:00
fcec6e8eae First attempt to implement default network interface 2019-08-23 15:14:15 +01:00
6beae23afd First commit. Outline of the default network. 2019-08-23 15:14:15 +01:00
34381213e7 Package comment 2019-08-05 18:04:47 +01:00
4030ccc27b Move proxy/router 2019-08-05 17:44:33 +01:00
d250ac736f In the event watchRegistry or watchTable exit then close the go routines 2019-08-02 15:17:48 +01:00
6719f8d655 Remove the table watcher when stopped 2019-08-02 14:59:08 +01:00
d7929ef8f3 Stop the ticker when exiting 2019-08-02 14:44:11 +01:00
2720c6f28e Removed trailing white characters 2019-08-01 13:32:55 +01:00
cdf0f14d58 remove this code 2019-07-31 17:19:49 +01:00
679c5f0ccd Fix some connection bugs 2019-07-31 16:49:48 +01:00
873bfcc73c Process/Stop router 2019-07-31 16:46:55 +01:00
7884e889f4 Don't publish the process rpc call and embed the router handler in the network 2019-07-31 16:36:53 +01:00
b1c49a0ddc Add router handler 2019-07-31 16:10:04 +01:00
318367cd71 move NewNetwork 2019-07-31 15:37:12 +01:00
2d09e74b0e add address/advertise 2019-07-31 15:35:51 +01:00
3e90d32f29 Add proxy/router 2019-07-31 15:30:51 +01:00
fca89e06ef Some network inspiration 2019-07-31 15:22:57 +01:00
852abcaaed yolo commit functioning router code. all credit to the milos gajdos 2019-07-29 18:57:40 +01:00
11f80708ce move lock 2019-07-29 12:52:52 +01:00
104778e5e5 move lock 2019-07-29 12:52:32 +01:00
ae99b9a887 syntactic changes 2019-07-29 12:44:59 +01:00
8fdc050e2e syntactic changes 2019-07-29 12:44:28 +01:00
8855beb62d syntactic changes 2019-07-29 12:43:20 +01:00
47acdf6a4b move Table to table 2019-07-29 12:40:13 +01:00
4fc9b9821a Merge pull request from milosgajdos83/no-table-package
[WIP] No table package. router/service package introduced
2019-07-29 12:36:40 +01:00
5b327ce723 change id to name in resolver 2019-07-28 20:00:09 +01:00
adb6760e21 readd the resolver 2019-07-28 12:14:40 +01:00
3d2ec5dbb1 Regenerated proto because proto reasons. 2019-07-27 16:12:44 +01:00
96f9ce1bd3 Proper router stopping. Printable router status. 2019-07-27 16:11:06 +01:00
cb3052ce04 Proper stopping of service router 2019-07-27 16:11:06 +01:00
2f1658c213 Table package is no more, hence removed references to it 2019-07-27 16:11:06 +01:00
d8b00e801d Stop watcher when router stops. Drain advert channel when stopping. 2019-07-27 16:11:06 +01:00
002abca61f Finished Advertise(). Implemented Process() 2019-07-27 16:11:06 +01:00
c5740ae031 Outline of Advertise, Watch and start of the router. 2019-07-27 16:11:05 +01:00
ddad43bd77 Added service.Router Route CRUD. Outlined watcher and run() 2019-07-27 16:11:05 +01:00
b6fb969ab9 Add List and Lookup implementation. Default error for not implement. 2019-07-27 16:11:05 +01:00