Caddy.Config (Caddy v1.0.5)

Caddy Config

Start Caddy Config

Link to this section Summary

Link to this section Functions

Link to this function

adapt(binary, adapter \\ "caddyfile")

@spec adapt(binary(), binary()) :: {:ok, map()} | {:error, any()}
Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

ensure_path_exists()

Link to this function

first_writable(paths)

Link to this function

first_writable_or(paths, default)

Link to this function

has_write_permission?(path)

Callback implementation for GenServer.init/1.

Link to this function

parse_caddyfile(caddy_bin, caddy_file)

@spec parse_caddyfile(binary(), Path.t()) :: map()
Link to this function

saved_json_file()

Link to this function

start_link(args)

See System.user_home/0.

Link to this function

xdg_config_home()

Link to this function

xdg_data_home()