package sihl-web

  1. Overview
  2. Docs
module Core = Sihl_core
val log_src : Logs.src
module Logs : Logs.LOG
val to_opium_builder : (Sihl_type.Http_route.meth * string * Rock.Handler.t) -> Opium.App.builder
val routers_to_opium_builders : Sihl_type.Http_route.router list -> Opium.App.builder list
val run_forever : unit -> 'a Lwt.t
type config = {
  1. port : int option;
}
val config : int option -> config
val schema : (string, int option -> config, config) Conformist.t
val registered_routers : Sihl_type.Http_route.router list ref
val start_server : unit -> 'a Lwt.t
val start_cmd : Core.Command.t
val start : unit -> 'a Lwt.t
val stop : unit -> unit Lwt.t
val register : ?routers:Sihl_type.Http_route.router list -> unit -> Core.Container.Service.t
OCaml

Innovation. Community. Security.