Module Brzo_domain
Brzo domains.
Domains
module type T = sig ... end
Signature implemented by domains
val name : t -> string
name d
is the identifier of domaind
.
val fingerprint : t -> B0_fexts.t
fingerprint d
is the fingerprint ofd
.
val pre_domain : t -> Brzo.Pre_domain.t
pre_domain d
is the pre-domain ofd
.
val run : Brzo.Conf.t -> t -> Brzo.Exit.t
run c d
runs domaind
with configurationc
.
Finding domains
val find : string -> t list -> (t, string) Stdlib.result
find name ds
is the domain identified namedn
inds
.
val of_conf : Brzo.Conf.t -> t list -> (t, string) Stdlib.result
of_conf c ds
is the domain fromds
selected in configurationc
.