Skip to content

suzunshou/switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

An in-memory switch Component.

start.

Configutation configutation = Configutation.builder()
        .port(8888)
        .readBytesLimit(1024)
        .closeAfterRead(false)
        .keyValueSplit("=")
        .enforceDisconnectOfNullBytesCount(2)
        .build();
SwitchServer switchServer = new SwitchServer(configutation);
switchServer.start();

use.

@Switcher(name = "DEMO_SWITCH")
public static boolean DEMO_SWITCH = true;

change.

nc localhost 8888
DEMO_SWITCH=false

About

This is An in-memory switch Component.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages