├── .gitignore ├── .travis.yml ├── CHANGES.md ├── LICENSE ├── Makefile ├── README.md ├── bootstrap.sh ├── discovery ├── jsonfile │ ├── lib.go │ └── lib_test.go ├── statichosts │ └── lib.go ├── test │ └── invalidhosts.json └── types.go ├── errors.go ├── events ├── events.go ├── events_test.go ├── mock_event_listener_test.go └── test │ └── mocks │ └── event_listener.go ├── examples ├── keyvalue │ ├── .gitignore │ ├── README.md │ ├── gen-go │ │ └── keyvalue │ │ │ ├── ringpop-keyvalue.go │ │ │ └── tchan-keyvalue.go │ ├── keyvalue.thrift │ └── main.go ├── ping-json │ ├── .gitignore │ ├── README.md │ └── main.go ├── ping-thrift-gen │ ├── .gitignore │ ├── README.md │ ├── gen-go │ │ └── ping │ │ │ ├── GoUnusedProtection__.go │ │ │ ├── ping-consts.go │ │ │ ├── ping.go │ │ │ ├── ringpop-ping.go │ │ │ └── tchan-ping.go │ ├── main.go │ └── ping.thrift ├── ping-thrift │ ├── .gitignore │ ├── README.md │ ├── gen-go │ │ └── ping │ │ │ ├── GoUnusedProtection__.go │ │ │ ├── ping-consts.go │ │ │ ├── ping.go │ │ │ └── tchan-ping.go │ ├── main.go │ └── ping.thrift └── role-labels │ ├── .gitignore │ ├── README.md │ ├── gen-go │ └── role │ │ ├── GoUnusedProtection__.go │ │ ├── ringpop-role.go │ │ ├── role-consts.go │ │ ├── role.go │ │ └── tchan-role.go │ ├── main.go │ └── role.thrift ├── forward ├── events.go ├── forwarder.go ├── forwarder_test.go ├── mock_sender_test.go ├── request_sender.go └── request_sender_test.go ├── go.mod ├── go.sum ├── handlers.go ├── hashring ├── checksummer.go ├── checksummer_test.go ├── hashring.go ├── hashring_test.go ├── rbtree.go ├── rbtree_test.go └── util_test.go ├── logging ├── default.go ├── default_test.go ├── facility.go ├── facility_test.go ├── level.go ├── level_test.go ├── named.go ├── named_test.go └── nologger.go ├── membership ├── events.go └── interface.go ├── options.go ├── options_test.go ├── replica ├── replicator.go └── replicator_test.go ├── ringpop.go ├── ringpop.thrift-gen ├── ringpop_test.go ├── router ├── router.go └── router_test.go ├── scripts ├── go-get-version.sh ├── lint │ ├── Makefile │ ├── lint-excludes │ ├── lint-warn │ ├── run-vet │ └── test │ │ ├── .gitignore │ │ ├── lint-warn.t │ │ ├── test-excludes │ │ ├── test-lint-all-fail.log │ │ ├── test-lint-mix.log │ │ └── test-lint-ok.log ├── pre-commit ├── testpop │ ├── statter.go │ └── testpop.go └── travis │ ├── .gitignore │ ├── get-cram.sh │ ├── get-thrift-gen.sh │ └── get-thrift.sh ├── shared ├── interfaces.go └── shared.go ├── stats_handler.go ├── swim ├── disseminator.go ├── disseminator_test.go ├── events.go ├── gossip.go ├── gossip_test.go ├── handlers.go ├── handlers_test.go ├── heal_partition.go ├── heal_partition_test.go ├── heal_via_discover_provider.go ├── join_delayer.go ├── join_delayer_test.go ├── join_handler.go ├── join_sender.go ├── join_test.go ├── labels.go ├── labels_test.go ├── member.go ├── member_doc_test.go ├── member_predicate.go ├── member_predicate_test.go ├── member_test.go ├── memberlist.go ├── memberlist_iter.go ├── memberlist_iter_test.go ├── memberlist_test.go ├── mock_self_evict_hook_test.go ├── node.go ├── node_bootstrap_test.go ├── node_test.go ├── ping_handler.go ├── ping_request_handler.go ├── ping_request_sender.go ├── ping_request_test.go ├── ping_sender.go ├── ping_test.go ├── schedule.go ├── self_evict.go ├── self_evict_test.go ├── state_transitions.go ├── state_transitions_test.go ├── stats.go ├── stats_test.go └── utils_test.go ├── test ├── .gitignore ├── gen-testfiles ├── go-test-prettify ├── lib.sh ├── mocks │ ├── README │ ├── client_factory.go │ ├── logger.go │ ├── logger │ │ └── logger.go │ ├── ringpop.go │ ├── stats_reporter.go │ ├── swim_node.go │ └── t_chan_client.go ├── remoteservice │ ├── .gitignore │ ├── remoteservice.thrift │ ├── remoteservice_test.go │ ├── shared.thrift │ └── unused.thrift ├── run-example-tests ├── run-integration-tests ├── thrift │ ├── pingpong.thrift │ └── pingpong │ │ ├── GoUnusedProtection__.go │ │ ├── mock_t_chan_ping_pong.go │ │ ├── pingpong-consts.go │ │ ├── pingpong.go │ │ └── tchan-pingpong.go ├── travis └── update-coveralls ├── util.go ├── util ├── util.go └── util_test.go └── utils_test.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/CHANGES.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/README.md -------------------------------------------------------------------------------- /bootstrap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/bootstrap.sh -------------------------------------------------------------------------------- /discovery/jsonfile/lib.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/discovery/jsonfile/lib.go -------------------------------------------------------------------------------- /discovery/jsonfile/lib_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/discovery/jsonfile/lib_test.go -------------------------------------------------------------------------------- /discovery/statichosts/lib.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/discovery/statichosts/lib.go -------------------------------------------------------------------------------- /discovery/test/invalidhosts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/discovery/test/invalidhosts.json -------------------------------------------------------------------------------- /discovery/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/discovery/types.go -------------------------------------------------------------------------------- /errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/errors.go -------------------------------------------------------------------------------- /events/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/events/events.go -------------------------------------------------------------------------------- /events/events_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/events/events_test.go -------------------------------------------------------------------------------- /events/mock_event_listener_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/events/mock_event_listener_test.go -------------------------------------------------------------------------------- /events/test/mocks/event_listener.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/events/test/mocks/event_listener.go -------------------------------------------------------------------------------- /examples/keyvalue/.gitignore: -------------------------------------------------------------------------------- 1 | hosts.json 2 | keyvalue 3 | -------------------------------------------------------------------------------- /examples/keyvalue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/keyvalue/README.md -------------------------------------------------------------------------------- /examples/keyvalue/gen-go/keyvalue/ringpop-keyvalue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/keyvalue/gen-go/keyvalue/ringpop-keyvalue.go -------------------------------------------------------------------------------- /examples/keyvalue/gen-go/keyvalue/tchan-keyvalue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/keyvalue/gen-go/keyvalue/tchan-keyvalue.go -------------------------------------------------------------------------------- /examples/keyvalue/keyvalue.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/keyvalue/keyvalue.thrift -------------------------------------------------------------------------------- /examples/keyvalue/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/keyvalue/main.go -------------------------------------------------------------------------------- /examples/ping-json/.gitignore: -------------------------------------------------------------------------------- 1 | ping-json 2 | /vendor 3 | -------------------------------------------------------------------------------- /examples/ping-json/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-json/README.md -------------------------------------------------------------------------------- /examples/ping-json/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-json/main.go -------------------------------------------------------------------------------- /examples/ping-thrift-gen/.gitignore: -------------------------------------------------------------------------------- 1 | ping-thrift-gen 2 | /vendor 3 | -------------------------------------------------------------------------------- /examples/ping-thrift-gen/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift-gen/README.md -------------------------------------------------------------------------------- /examples/ping-thrift-gen/gen-go/ping/GoUnusedProtection__.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift-gen/gen-go/ping/GoUnusedProtection__.go -------------------------------------------------------------------------------- /examples/ping-thrift-gen/gen-go/ping/ping-consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift-gen/gen-go/ping/ping-consts.go -------------------------------------------------------------------------------- /examples/ping-thrift-gen/gen-go/ping/ping.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift-gen/gen-go/ping/ping.go -------------------------------------------------------------------------------- /examples/ping-thrift-gen/gen-go/ping/ringpop-ping.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift-gen/gen-go/ping/ringpop-ping.go -------------------------------------------------------------------------------- /examples/ping-thrift-gen/gen-go/ping/tchan-ping.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift-gen/gen-go/ping/tchan-ping.go -------------------------------------------------------------------------------- /examples/ping-thrift-gen/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift-gen/main.go -------------------------------------------------------------------------------- /examples/ping-thrift-gen/ping.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift-gen/ping.thrift -------------------------------------------------------------------------------- /examples/ping-thrift/.gitignore: -------------------------------------------------------------------------------- 1 | ping-thrift 2 | /vendor 3 | -------------------------------------------------------------------------------- /examples/ping-thrift/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift/README.md -------------------------------------------------------------------------------- /examples/ping-thrift/gen-go/ping/GoUnusedProtection__.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift/gen-go/ping/GoUnusedProtection__.go -------------------------------------------------------------------------------- /examples/ping-thrift/gen-go/ping/ping-consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift/gen-go/ping/ping-consts.go -------------------------------------------------------------------------------- /examples/ping-thrift/gen-go/ping/ping.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift/gen-go/ping/ping.go -------------------------------------------------------------------------------- /examples/ping-thrift/gen-go/ping/tchan-ping.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift/gen-go/ping/tchan-ping.go -------------------------------------------------------------------------------- /examples/ping-thrift/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift/main.go -------------------------------------------------------------------------------- /examples/ping-thrift/ping.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/ping-thrift/ping.thrift -------------------------------------------------------------------------------- /examples/role-labels/.gitignore: -------------------------------------------------------------------------------- 1 | role-labels 2 | -------------------------------------------------------------------------------- /examples/role-labels/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/role-labels/README.md -------------------------------------------------------------------------------- /examples/role-labels/gen-go/role/GoUnusedProtection__.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/role-labels/gen-go/role/GoUnusedProtection__.go -------------------------------------------------------------------------------- /examples/role-labels/gen-go/role/ringpop-role.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/role-labels/gen-go/role/ringpop-role.go -------------------------------------------------------------------------------- /examples/role-labels/gen-go/role/role-consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/role-labels/gen-go/role/role-consts.go -------------------------------------------------------------------------------- /examples/role-labels/gen-go/role/role.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/role-labels/gen-go/role/role.go -------------------------------------------------------------------------------- /examples/role-labels/gen-go/role/tchan-role.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/role-labels/gen-go/role/tchan-role.go -------------------------------------------------------------------------------- /examples/role-labels/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/role-labels/main.go -------------------------------------------------------------------------------- /examples/role-labels/role.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/examples/role-labels/role.thrift -------------------------------------------------------------------------------- /forward/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/forward/events.go -------------------------------------------------------------------------------- /forward/forwarder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/forward/forwarder.go -------------------------------------------------------------------------------- /forward/forwarder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/forward/forwarder_test.go -------------------------------------------------------------------------------- /forward/mock_sender_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/forward/mock_sender_test.go -------------------------------------------------------------------------------- /forward/request_sender.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/forward/request_sender.go -------------------------------------------------------------------------------- /forward/request_sender_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/forward/request_sender_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/go.sum -------------------------------------------------------------------------------- /handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/handlers.go -------------------------------------------------------------------------------- /hashring/checksummer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/hashring/checksummer.go -------------------------------------------------------------------------------- /hashring/checksummer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/hashring/checksummer_test.go -------------------------------------------------------------------------------- /hashring/hashring.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/hashring/hashring.go -------------------------------------------------------------------------------- /hashring/hashring_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/hashring/hashring_test.go -------------------------------------------------------------------------------- /hashring/rbtree.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/hashring/rbtree.go -------------------------------------------------------------------------------- /hashring/rbtree_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/hashring/rbtree_test.go -------------------------------------------------------------------------------- /hashring/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/hashring/util_test.go -------------------------------------------------------------------------------- /logging/default.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/logging/default.go -------------------------------------------------------------------------------- /logging/default_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/logging/default_test.go -------------------------------------------------------------------------------- /logging/facility.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/logging/facility.go -------------------------------------------------------------------------------- /logging/facility_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/logging/facility_test.go -------------------------------------------------------------------------------- /logging/level.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/logging/level.go -------------------------------------------------------------------------------- /logging/level_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/logging/level_test.go -------------------------------------------------------------------------------- /logging/named.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/logging/named.go -------------------------------------------------------------------------------- /logging/named_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/logging/named_test.go -------------------------------------------------------------------------------- /logging/nologger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/logging/nologger.go -------------------------------------------------------------------------------- /membership/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/membership/events.go -------------------------------------------------------------------------------- /membership/interface.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/membership/interface.go -------------------------------------------------------------------------------- /options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/options.go -------------------------------------------------------------------------------- /options_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/options_test.go -------------------------------------------------------------------------------- /replica/replicator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/replica/replicator.go -------------------------------------------------------------------------------- /replica/replicator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/replica/replicator_test.go -------------------------------------------------------------------------------- /ringpop.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/ringpop.go -------------------------------------------------------------------------------- /ringpop.thrift-gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/ringpop.thrift-gen -------------------------------------------------------------------------------- /ringpop_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/ringpop_test.go -------------------------------------------------------------------------------- /router/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/router/router.go -------------------------------------------------------------------------------- /router/router_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/router/router_test.go -------------------------------------------------------------------------------- /scripts/go-get-version.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/go-get-version.sh -------------------------------------------------------------------------------- /scripts/lint/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/lint/Makefile -------------------------------------------------------------------------------- /scripts/lint/lint-excludes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/lint/lint-excludes -------------------------------------------------------------------------------- /scripts/lint/lint-warn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/lint/lint-warn -------------------------------------------------------------------------------- /scripts/lint/run-vet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/lint/run-vet -------------------------------------------------------------------------------- /scripts/lint/test/.gitignore: -------------------------------------------------------------------------------- 1 | *.err 2 | -------------------------------------------------------------------------------- /scripts/lint/test/lint-warn.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/lint/test/lint-warn.t -------------------------------------------------------------------------------- /scripts/lint/test/test-excludes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/lint/test/test-excludes -------------------------------------------------------------------------------- /scripts/lint/test/test-lint-all-fail.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/lint/test/test-lint-all-fail.log -------------------------------------------------------------------------------- /scripts/lint/test/test-lint-mix.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/lint/test/test-lint-mix.log -------------------------------------------------------------------------------- /scripts/lint/test/test-lint-ok.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/lint/test/test-lint-ok.log -------------------------------------------------------------------------------- /scripts/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | make lint 3 | -------------------------------------------------------------------------------- /scripts/testpop/statter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/testpop/statter.go -------------------------------------------------------------------------------- /scripts/testpop/testpop.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/testpop/testpop.go -------------------------------------------------------------------------------- /scripts/travis/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !*.sh -------------------------------------------------------------------------------- /scripts/travis/get-cram.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/travis/get-cram.sh -------------------------------------------------------------------------------- /scripts/travis/get-thrift-gen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/travis/get-thrift-gen.sh -------------------------------------------------------------------------------- /scripts/travis/get-thrift.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/scripts/travis/get-thrift.sh -------------------------------------------------------------------------------- /shared/interfaces.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/shared/interfaces.go -------------------------------------------------------------------------------- /shared/shared.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/shared/shared.go -------------------------------------------------------------------------------- /stats_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/stats_handler.go -------------------------------------------------------------------------------- /swim/disseminator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/disseminator.go -------------------------------------------------------------------------------- /swim/disseminator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/disseminator_test.go -------------------------------------------------------------------------------- /swim/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/events.go -------------------------------------------------------------------------------- /swim/gossip.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/gossip.go -------------------------------------------------------------------------------- /swim/gossip_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/gossip_test.go -------------------------------------------------------------------------------- /swim/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/handlers.go -------------------------------------------------------------------------------- /swim/handlers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/handlers_test.go -------------------------------------------------------------------------------- /swim/heal_partition.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/heal_partition.go -------------------------------------------------------------------------------- /swim/heal_partition_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/heal_partition_test.go -------------------------------------------------------------------------------- /swim/heal_via_discover_provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/heal_via_discover_provider.go -------------------------------------------------------------------------------- /swim/join_delayer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/join_delayer.go -------------------------------------------------------------------------------- /swim/join_delayer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/join_delayer_test.go -------------------------------------------------------------------------------- /swim/join_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/join_handler.go -------------------------------------------------------------------------------- /swim/join_sender.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/join_sender.go -------------------------------------------------------------------------------- /swim/join_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/join_test.go -------------------------------------------------------------------------------- /swim/labels.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/labels.go -------------------------------------------------------------------------------- /swim/labels_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/labels_test.go -------------------------------------------------------------------------------- /swim/member.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/member.go -------------------------------------------------------------------------------- /swim/member_doc_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/member_doc_test.go -------------------------------------------------------------------------------- /swim/member_predicate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/member_predicate.go -------------------------------------------------------------------------------- /swim/member_predicate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/member_predicate_test.go -------------------------------------------------------------------------------- /swim/member_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/member_test.go -------------------------------------------------------------------------------- /swim/memberlist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/memberlist.go -------------------------------------------------------------------------------- /swim/memberlist_iter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/memberlist_iter.go -------------------------------------------------------------------------------- /swim/memberlist_iter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/memberlist_iter_test.go -------------------------------------------------------------------------------- /swim/memberlist_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/memberlist_test.go -------------------------------------------------------------------------------- /swim/mock_self_evict_hook_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/mock_self_evict_hook_test.go -------------------------------------------------------------------------------- /swim/node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/node.go -------------------------------------------------------------------------------- /swim/node_bootstrap_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/node_bootstrap_test.go -------------------------------------------------------------------------------- /swim/node_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/node_test.go -------------------------------------------------------------------------------- /swim/ping_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/ping_handler.go -------------------------------------------------------------------------------- /swim/ping_request_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/ping_request_handler.go -------------------------------------------------------------------------------- /swim/ping_request_sender.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/ping_request_sender.go -------------------------------------------------------------------------------- /swim/ping_request_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/ping_request_test.go -------------------------------------------------------------------------------- /swim/ping_sender.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/ping_sender.go -------------------------------------------------------------------------------- /swim/ping_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/ping_test.go -------------------------------------------------------------------------------- /swim/schedule.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/schedule.go -------------------------------------------------------------------------------- /swim/self_evict.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/self_evict.go -------------------------------------------------------------------------------- /swim/self_evict_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/self_evict_test.go -------------------------------------------------------------------------------- /swim/state_transitions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/state_transitions.go -------------------------------------------------------------------------------- /swim/state_transitions_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/state_transitions_test.go -------------------------------------------------------------------------------- /swim/stats.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/stats.go -------------------------------------------------------------------------------- /swim/stats_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/stats_test.go -------------------------------------------------------------------------------- /swim/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/swim/utils_test.go -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | ringpop-common/ 2 | -------------------------------------------------------------------------------- /test/gen-testfiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/gen-testfiles -------------------------------------------------------------------------------- /test/go-test-prettify: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/go-test-prettify -------------------------------------------------------------------------------- /test/lib.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/lib.sh -------------------------------------------------------------------------------- /test/mocks/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/mocks/README -------------------------------------------------------------------------------- /test/mocks/client_factory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/mocks/client_factory.go -------------------------------------------------------------------------------- /test/mocks/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/mocks/logger.go -------------------------------------------------------------------------------- /test/mocks/logger/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/mocks/logger/logger.go -------------------------------------------------------------------------------- /test/mocks/ringpop.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/mocks/ringpop.go -------------------------------------------------------------------------------- /test/mocks/stats_reporter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/mocks/stats_reporter.go -------------------------------------------------------------------------------- /test/mocks/swim_node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/mocks/swim_node.go -------------------------------------------------------------------------------- /test/mocks/t_chan_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/mocks/t_chan_client.go -------------------------------------------------------------------------------- /test/remoteservice/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/remoteservice/.gitignore -------------------------------------------------------------------------------- /test/remoteservice/remoteservice.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/remoteservice/remoteservice.thrift -------------------------------------------------------------------------------- /test/remoteservice/remoteservice_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/remoteservice/remoteservice_test.go -------------------------------------------------------------------------------- /test/remoteservice/shared.thrift: -------------------------------------------------------------------------------- 1 | typedef string Name 2 | -------------------------------------------------------------------------------- /test/remoteservice/unused.thrift: -------------------------------------------------------------------------------- 1 | typedef string UnusedType 2 | -------------------------------------------------------------------------------- /test/run-example-tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/run-example-tests -------------------------------------------------------------------------------- /test/run-integration-tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/run-integration-tests -------------------------------------------------------------------------------- /test/thrift/pingpong.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/thrift/pingpong.thrift -------------------------------------------------------------------------------- /test/thrift/pingpong/GoUnusedProtection__.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/thrift/pingpong/GoUnusedProtection__.go -------------------------------------------------------------------------------- /test/thrift/pingpong/mock_t_chan_ping_pong.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/thrift/pingpong/mock_t_chan_ping_pong.go -------------------------------------------------------------------------------- /test/thrift/pingpong/pingpong-consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/thrift/pingpong/pingpong-consts.go -------------------------------------------------------------------------------- /test/thrift/pingpong/pingpong.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/thrift/pingpong/pingpong.go -------------------------------------------------------------------------------- /test/thrift/pingpong/tchan-pingpong.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/thrift/pingpong/tchan-pingpong.go -------------------------------------------------------------------------------- /test/travis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/travis -------------------------------------------------------------------------------- /test/update-coveralls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/test/update-coveralls -------------------------------------------------------------------------------- /util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/util.go -------------------------------------------------------------------------------- /util/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/util/util.go -------------------------------------------------------------------------------- /util/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/util/util_test.go -------------------------------------------------------------------------------- /utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temporalio/ringpop-go/HEAD/utils_test.go --------------------------------------------------------------------------------