package activitypub_server

  1. Overview
  2. Docs

Module Activitypub_server.ConfSource

Server configuration options.

Sourcemodule AP = Activitypub
Sourcetype https = {
  1. server_cert : string;
  2. server_key : string;
  3. server_ca : string option;
  4. port : int;
}
Sourceval default_https : https
Sourceval https_wrapper : https Ocf.Wrapper.t
Sourcetype t = {
  1. https : https;
  2. root_iri : Iri.t;
  3. storage_root : string;
  4. jsonld_cache_dir : string;
  5. cache_dir : string option;
  6. cache_delay : int;
  7. process_dir : string;
  8. dir_graph_file : string;
  9. log_level : Logs.level option;
  10. media_path : (string * string) option;
  11. allow_multiple_announcements : bool;
}
Sourceval default_t : t
Sourceval t_wrapper : t Ocf.Wrapper.t
Sourceval is_prefix : string -> string -> bool
Sourceval filename_relative_to : string -> string -> string
Sourceval filename_from_root : t -> string -> string
Sourceval read_dir_graph : t -> Rdf.Graph.graph -> string -> (bool, [> `Msg of string ]) result Lwt.t
Sourceval write_dir_graph : t -> Rdf.Graph.graph -> string -> unit Lwt.t