package sihl

  1. Overview
  2. Docs
The Sihl web framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

3.0.4.tar.gz
md5=8a2754d6e5b9eafb8ff332abdb1ceb7d
sha512=3230a1315686b0b6f90a41ceda27ab036e178184ab13d5a98f64d6d987caf4a8a5d94ed78bc8e79b0ee3b40ccbb1dbdc71ffe171f1aef1f18aba81fc720e3a1b

doc/sihl/Sihl/Container/Service/index.html

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