Function shadowsocks_service::config::read_variable_field_value
source · [−]Expand description
Parse variable value if it is an environment variable
If value is in format ${VAR_NAME}
then it will try to read from VAR_NAME
environment variable.
It will return the original value if fails to read ${VAR_NAME}
.