package sihl-web

  1. Overview
  2. Docs
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
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 Stdlib.ref
val start_server : unit -> unit Lwt.t
val start_cmd : Sihl_core.Command.t
val start : unit -> unit Lwt.t
val stop : unit -> unit Lwt.t
val register : ?routers:Sihl_type.Http_route.router list -> unit -> Sihl_core.Container.Service.t