CrossClj

0.5.4 docs

SourceDocs



RECENT
    VARS
    env-coerce
    env-coercer
    env-coercion-matcher
    string-collection-matcher

    « Index of all namespaces of this project

    Provides Schema coercion for component configuration values.
    
    This is useful when options are read from string only sources like
    envinronment variables or system properties. Coercion is based on
    schema.coerce/string-coercion-matcher but additionally includes
    following coercions:
    
    - Single string to collection by splitting the string on ":"
    (env-coerce schema v)
    Coerces and validates value against given schema. Throws if
    coercion of validation fails.
    (env-coercer schema)
    (env-coercion-matcher schema)
    (string-collection-matcher schema)