Open lni opened 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)
}
as discussed in #290