metadata_plugs v0.2.0 MetadataPlugs.Info

Link to this section Summary

Types

  • :env_vars — String list of environment variables names to get the value from (default: []).
  • :path — (Optional) Info endpoint path (default: /info)

Functions

Resolves a health request

Callback implementation for Plug.init/1

Link to this section Types

Link to this type opts()
opts() :: [path: String.t(), env_vars: [String.t()]]
  • :env_vars — String list of environment variables names to get the value from (default: []).
  • :path — (Optional) Info endpoint path (default: /info).

Link to this section Functions

Link to this function call(conn, opts)
call(Plug.Conn.t(), map()) :: Plug.Conn.t()

Resolves a health request

Link to this function init(opts)
init(opts :: opts()) :: map()

Callback implementation for Plug.init/1.