summaryrefslogtreecommitdiff
path: root/src/startup.mli
blob: 988e0281891d701fbdf849ec24085f9c9202676e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
val panic : string -> 'a

val setup_logger : bool -> string option -> Lwt_log.template -> unit Lwt.t

val load_config : string -> Vyconf_config.t

val check_dirs : Directories.t -> unit

val create_socket : string -> Lwt_unix.file_descr Lwt.t

val create_server :
    (Lwt_unix.file_descr * Lwt_unix.sockaddr -> unit Lwt.t) ->
    Lwt_unix.file_descr -> unit -> 'a Lwt.t