Skip to content

v1.1.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Bai-Yingjie Bai-Yingjie released this 09 Sep 17:19
· 193 commits to master since this release
74d23fe

change log

Rework using yaegi interpreter:

  • gshell daemon responses gshell clients and is responsible starting gre(gshell runtime environment) as a new process, each system should have one gshelld running which will be identified by a unique provider ID
  • gre is responsible to run .go file in yaegi interpreter
  • gshell clients talk to gshell daemon to dispatch .go file to run by local/remote gshelld

to start gshelld as root registry:

bin/gshell -wd rootregistry daemon -registry $ip:11985 -bcast 9923 -root -repo github.com/godevsig/gshellos/master

to start gshelld at each other systems:

bin/gshell -wd rootregistry daemon -registry $rootip:11985 -bcast 9923 

list services:

bin/gshell list
PUBLISHER           SERVICE             PROVIDER      WLOP(SCOPE)
builtin             LANRegistry         self            11
builtin             providerInfo        self            11
builtin             registryInfo        self            11
builtin             reverseProxy        fa163ecfb434   100
builtin             serviceLister       self            11
godevsig.org        codeRepo            self          1111
godevsig.org        gshellDaemon        fa163ecfb434   100
godevsig.org        gshellDaemon        self          1111

run hello.go locally:

bin/gshell run hello.go

run hello.go on a remote system by provider ID:

bin/gshell -p fa163ecfb434 run hello.go

gshelld can work behind NAT.