package sihl

  1. Overview
  2. Docs

Module Container.ServiceSource

Sourcemodule type Sig = sig ... end
Sourcetype t = {
  1. lifecycle : lifecycle;
  2. configuration : Configuration.t;
  3. commands : Command.t list;
  4. server : bool;
}
Sourceval commands : t -> Command.t list
Sourceval configuration : t -> Configuration.t
Sourceval create : ?commands:Command.t list -> ?configuration:Configuration.t -> ?server:bool -> lifecycle -> t
Sourceval server : t -> bool
Sourceval start : t -> unit Lwt.t
Sourceval stop : t -> unit Lwt.t
Sourceval name : t -> string
OCaml

Innovation. Community. Security.