ConfigBacken
A simple java wrapper for my configuration backend
Requirements
- You need to have a Backend running
Usage
ConfigHandler configHandler = new ConfigHandler();
configHandler.setUrl(/* REQUIRED */ "http://localhost:3333");
configHandler.setApiKey(/* OPTIONAL */ "api-key");
configHandler.getConfig("test").thenAccept((config -> {
config.setValue("test", true);
System.out.println("Completed! " + config.getValue("test"));
}));
Installation
*Maven