Skip to content

hysios/mx

Repository files navigation

MX is microservice gateway

install mx framework cli


Declare config

setup redis backend config

consul services register -name="mx.Config" -meta=service_type=config_provider -meta=targetURI=redis://127.0.0.1:6379/mx.config -address=127.0.0.1 -port=6379

used cli config set

set a config key value

mx config set -key=key=value

get a config key value

mx config get -key=key

cat all config

mx config cat

update all config

mx config update --data="{"a": "b"}"

update config from a json file

mx config update --data=@/path/to/file.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published