Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = {
conf : Oraft__.Conf.t;
process : unit Lwt.t;
post_command : string -> bool Lwt.t;
current_state : unit -> current_state;
}
val start :
conf_file:string ->
apply_log:(node_id:int -> log_index:int -> log_data:string -> unit) ->
t