Usage
if err != nil {
panic(err)
}
defer geymsla.Close()
type Person struct {
Name string
}
person := Person{Name: "Younis"}
if err := geymsla.Set("me", person); err != nil {
panic(err)
}
value, err := geymsla.Get("me")
if err != nil {
panic(err)
}
fmt.Println(value)
TODO
- Add Raft or SWIM protocol support.
- Use Hashicorp's Raft implementation or Serf.
- Write a comprehensive doc