View Source amoc_config_parser (amoc v3.3.0)

This module defines a behaviour to parse values as extracted from environment variables. This module implements the default parser for the amoc_config_env module

See also: amoc_config, amoc_config_env.

Summary

Functions

-spec format(any(), binary) -> binary();
      (any(), string) -> string().
-spec parse_value(string() | binary()) -> {ok, amoc_config:value()} | {error, any()}.