metadata_plugs v0.3.0 MetadataPlugs.Info

Plug module that provides the value of a configured list of environment variables

Link to this section Summary

Types

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

Functions

Resolves a health request

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) The info endpoint path (default: /info).

Link to this section Functions

Link to this function

call(conn, opts)

Resolves a health request