Up

Module Enforcer

Signature

type t
val create : string -> string -> string -> t

create name username host create a new enforcer controller

val name : t -> string
val host : t -> string
val username : t -> string
val running : t -> bool Async.Std.Deferred.t

running t return true if the enforcer is running

val start : t -> unit Async.Std.Deferred.t

start t start the enforcer

val shutdown : t -> unit Async.Std.Deferred.t

stop t stop the enforcer

val kill : t -> unit Async.Std.Deferred.t

kill t kill the enforcer