1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-07-12 22:41:07 +02:00
Commit Graph

1328 Commits

Author SHA1 Message Date
55f8045a70 Add link: a layer ontop of a transport socket 2019-07-10 17:12:51 +01:00
b23d955536 Use gateway if available 2019-07-10 08:26:33 +01:00
5b565f9f10 update comment 2019-07-10 07:56:52 +01:00
9955ed2034 move table 2019-07-10 07:56:18 +01:00
c36107e811 cleanup consts 2019-07-10 07:51:24 +01:00
a08b64c8ab remove the string methods 2019-07-10 07:50:33 +01:00
64ec0633a3 Fix breaks and go fmt 2019-07-10 07:47:17 +01:00
0a1b657221 visual cleanup of router code 2019-07-10 07:45:27 +01:00
34967e8e33 Merge pull request #573 from milosgajdos83/flap-detection
Router rework. Flap detection. Table package.
2019-07-10 07:12:18 +01:00
eda380284c remove network 2019-07-09 18:45:14 +01:00
0bf54c122f move transport back 2019-07-09 18:41:26 +01:00
97282a5377 remove resolver 2019-07-09 16:54:44 +01:00
b642d5e1c0 remove proto dir 2019-07-09 16:53:30 +01:00
c5a282ddd3 remove the tunnel 2019-07-09 16:52:44 +01:00
6cf8bde612 Router selector and proxy modifications due to Route struct changes. 2019-07-09 16:45:31 +01:00
327029beff fix string method 2019-07-09 16:44:43 +01:00
c5214c931f reorder and reword 2019-07-09 16:38:44 +01:00
d725980444 add some initialisers 2019-07-09 16:37:59 +01:00
23cb811f60 Removed fmt.Stringer artistry from all roouter and table structs 2019-07-09 16:17:18 +01:00
c5fb409760 Removed debug logs 2019-07-09 15:55:39 +01:00
70665e5a7d Route has changed to accomodate Link, Service and Address 2019-07-09 15:46:32 +01:00
449aa0a339 Collect ANNOUNCE mesage events before adding default gateway. 2019-07-09 15:46:31 +01:00
265271008e Simplified processEvents loop; Added router Announcement. 2019-07-09 15:46:31 +01:00
b82245429e Simplified table logic. Lookup tests. mucp/cient update 2019-07-09 15:46:31 +01:00
cc590f5f2c Table now has a dedicated package inside router package. 2019-07-09 15:46:31 +01:00
0c1a28a9b6 Router routing table management. Table route hashes. Status codes changed.
We now manage routing table actions using dedicated functions run on
either registry or services in the registry.

Routing table now uses Route.Hash() instead of maintaining its own hash
struct filed which previously performed these operations.

Various names of variables have been changed to make them more concise.
2019-07-09 15:46:31 +01:00
30d05e34a9 Read and remove routes based on registry event deltas 2019-07-09 15:46:31 +01:00
b68f0e237f Removed event from eventMap once sent to be advertised 2019-07-09 15:46:31 +01:00
72ef032162 First shot at flapping detection and event advertising.
This commit also adds Route hash function, lots of debug messages for
now and String() methods for various API objects.
2019-07-09 15:46:30 +01:00
d6c07dfb16 Update is now Advert 2019-07-09 15:46:30 +01:00
ea872f6900 Updated error statements; Update ships list of events. 2019-07-09 15:46:30 +01:00
6bdc23a3aa add comments 2019-07-08 16:32:12 +01:00
fa54db5ba5 rename network name to go.micro 2019-07-08 16:27:02 +01:00
8015a1daaf Merge branch 'master' of ssh://github.com/micro/go-micro 2019-07-08 16:25:41 +01:00
608a1f8add remove node code 2019-07-08 16:25:04 +01:00
4a02e1ff2f rewrite network interface 2019-07-08 16:24:57 +01:00
5cd1e81ba9 Merge pull request #570 from sunfuze/grpc-json-marshal
grpc: using jsonpb.Marshaler to do Marshal, map to jsonpb.Unmarsh
2019-07-08 08:44:51 +01:00
d3edad474e Merge pull request #571 from micro/remove-port
Remove Port from registry
2019-07-08 08:18:26 +01:00
e0bf1c2283 Remove Port from registry 2019-07-08 08:01:42 +01:00
Joe
b655f7f55a grpc: using jsonpb.Marshaler to do Marshal, map to jsonpb.Unmarsh 2019-07-08 10:32:10 +08:00
5b7454e5a8 update transport package comments 2019-07-07 15:04:07 +01:00
0b732b2c49 update transport package comments 2019-07-07 15:03:08 +01:00
be33d9204a Merge pull request #569 from micro/event
Change Publication to Event
2019-07-07 12:45:37 +01:00
4b4ad68eb9 Change Publication to Event 2019-07-07 12:44:09 +01:00
79b03a6825 add broker args 2019-07-07 12:36:14 +01:00
777a203f96 gofmt 2019-07-07 12:33:54 +01:00
c1097a4509 strip broker address 2019-07-07 12:33:47 +01:00
5f664faeba Add transport options comments 2019-07-07 12:23:03 +01:00
d2d6841f02 Move transport to network/transport 2019-07-07 10:37:34 +01:00
eafc930f84 Change network id to name 2019-07-07 10:10:38 +01:00