lni / dragonboat

A feature complete and high performance multi-group Raft library in Go.
Apache License 2.0
5.06k stars 541 forks source link

Query interface should allow an uint64 to be returned #296

Open lni opened 1 year ago

lni commented 1 year ago

as discussed in #290

kevburnsjr commented 1 year ago

Client interface for reference

type Client interface {
    Propose(ctx context.Context, replicaID uint64, cmd []byte, linear bool) (value uint64, data []byte, err error)
    Query(ctx context.Context, replicaID uint64, query []byte, linear bool) (value uint64, data []byte, err error)
}