package async_extended

  1. Overview
  2. Docs
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.Deferred.t

running t return true if the enforcer is running

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

start t start the enforcer

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

stop t stop the enforcer

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

kill t kill the enforcer

OCaml

Innovation. Community. Security.