namespace NATS.Server.Raft;

public sealed class RaftTermState
{
    public int CurrentTerm { get; set; }
    public string? VotedFor { get; set; }
}

public enum RaftRole
{
    Follower,
    Candidate,
    Leader,
}
