{"id":18418624,"url":"https://github.com/bsm/redeoraft","last_synced_at":"2025-04-07T13:31:21.151Z","repository":{"id":57510785,"uuid":"95205204","full_name":"bsm/redeoraft","owner":"bsm","description":"Raft transport implementation for Redeo servers #raft #golang #redeo #redis","archived":false,"fork":false,"pushed_at":"2018-01-24T13:22:35.000Z","size":35,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-22T19:02:35.193Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bsm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-23T09:26:39.000Z","updated_at":"2023-07-09T21:11:09.000Z","dependencies_parsed_at":"2022-09-26T17:50:53.008Z","dependency_job_id":null,"html_url":"https://github.com/bsm/redeoraft","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fredeoraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fredeoraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fredeoraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fredeoraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsm","download_url":"https://codeload.github.com/bsm/redeoraft/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247661669,"owners_count":20975096,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T04:14:10.109Z","updated_at":"2025-04-07T13:31:20.873Z","avatar_url":"https://github.com/bsm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redeo Raft\n\n[![GoDoc](https://godoc.org/github.com/bsm/redeoraft?status.svg)](https://godoc.org/github.com/bsm/redeoraft)\n[![Build Status](https://travis-ci.org/bsm/redeoraft.png?branch=master)](https://travis-ci.org/bsm/redeoraft)\n[![Go Report Card](https://goreportcard.com/badge/github.com/bsm/redeoraft)](https://goreportcard.com/report/github.com/bsm/redeoraft)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nRaft transport implementation for Redeo servers.\n\n## Example\n\n```go\nfunc run() {\n\t// Init server with default config\n\tsrv := redeo.NewServer(nil)\n\n\t// Init a new transport, this installs three new commands on your\n\t// server:\n\t// * raftappend - appends replicated log entries from leader\n\t// * raftvote - replies to vote requests in an leadership election\n\t// * raftsnapshot - installs a snapshot\n\ttsp := redeoraft.NewTransport(srv, \"10.0.0.1:9736\", \u0026redeoraft.Config{\n\t\tTimeout: time.Minute,\n\t})\n\tdefer tsp.Close()\n\n\t// Use the transport in your raft configuration\n\trft, err := raft.NewRaft(raft.DefaultConfig(), \u0026ExampleRaftService{}, raft.NewInmemStore(), raft.NewInmemStore(), raft.NewInmemSnapshotStore(), tsp)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer rft.Shutdown()\n}\n```\n\n## Dependencies\n\n* [library-v2-stage-one](https://github.com/hashicorp/raft/tree/library-v2-stage-one) branch of Hashicorp's Raft implementation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsm%2Fredeoraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsm%2Fredeoraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsm%2Fredeoraft/lists"}