Created
October 18, 2013 11:27
-
-
Save kiy0taka/7040199 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static org.vertx.groovy.core.streams.Pump.createPump | |
def conf = [ | |
"crash.auth": "simple", | |
"crash.auth.simple.username": "admin", | |
"crash.auth.simple.password": "admin", | |
"crash.ssh.port": "2000" | |
] | |
container.deployModule("org.crashub~vertx.shell~2.0.2", conf) | |
vertx.createNetServer().connectHandler { socket -> | |
createPump(socket, socket).start() | |
}.listen(1234) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment