package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Kernel : sig ... end

Signature

type t
val empty : t
val with_config : Config.t -> t -> t
val with_routes : Web.Server.stacked_routes -> t -> t
val with_services : (module Core.Container.SERVICE) list -> t -> t
val with_schedules : Schedule.t list -> t -> t
val with_commands : Cmd.t list -> t -> t
val on_start : (Core.Ctx.t -> unit Lwt.t) -> t -> t
val on_stop : (Core.Ctx.t -> unit Lwt.t) -> t -> t
val run : t -> unit