diff --git a/hkexpasswd/Makefile b/hkexpasswd/Makefile index b944df9..96acf08 100644 --- a/hkexpasswd/Makefile +++ b/hkexpasswd/Makefile @@ -10,5 +10,5 @@ clean: $(RM) $(EXE) $(EXE).exe vis: - go-callvis -skipbrowser -svg -output hkexpasswd-vis -ignore $(EXTPKGS) -group pkg,type . + go-callvis -skipbrowser -png -svg -output hkexpasswd-vis -ignore $(EXTPKGS) -group pkg,type . diff --git a/hkexpasswd/hkexpasswd-vis.gv b/hkexpasswd/hkexpasswd-vis.gv index 481f3ce..b587200 100755 --- a/hkexpasswd/hkexpasswd-vis.gv +++ b/hkexpasswd/hkexpasswd-vis.gv @@ -20,17 +20,17 @@ labelloc="t"; labeljust="c"; fontsize="18"; - "blitter.com/go/hkexsh/hkexpasswd.main" [ penwidth="0.5" fillcolor="lightblue" label="main" ] + "blitter.com/go/hkexsh/hkexpasswd.main" [ fillcolor="lightblue" label="main" penwidth="0.5" ] subgraph "cluster_blitter.com/go/hkexsh" { - fontname="bold"; + fillcolor="lightyellow"; +fontname="bold"; rank="sink"; -label="[hkexsh]"; URL="/?f=blitter.com/go/hkexsh"; +tooltip="package: blitter.com/go/hkexsh"; style="filled"; fontsize="16"; -fillcolor="lightyellow"; -tooltip="package: blitter.com/go/hkexsh"; +label="[hkexsh]"; penwidth="0.8"; "blitter.com/go/hkexsh.ReadPassword" [ fillcolor="moccasin" label="ReadPassword" penwidth="1.5" ] @@ -38,17 +38,17 @@ penwidth="0.8"; } subgraph "cluster_github.com/jameskeane/bcrypt" { - label="[bcrypt]"; -fontsize="16"; -fillcolor="lightyellow"; + tooltip="package: github.com/jameskeane/bcrypt"; +style="filled"; fontname="bold"; rank="sink"; +label="[bcrypt]"; penwidth="0.8"; -style="filled"; +fontsize="16"; +fillcolor="lightyellow"; URL="/?f=github.com/jameskeane/bcrypt"; -tooltip="package: github.com/jameskeane/bcrypt"; - "github.com/jameskeane/bcrypt.Salt" [ fillcolor="moccasin" label="Salt" penwidth="1.5" ] + "github.com/jameskeane/bcrypt.Salt" [ label="Salt" penwidth="1.5" fillcolor="moccasin" ] "github.com/jameskeane/bcrypt.Hash" [ fillcolor="moccasin" label="Hash" penwidth="1.5" ] "github.com/jameskeane/bcrypt.Match" [ fillcolor="moccasin" label="Match" penwidth="1.5" ] diff --git a/hkexpasswd/hkexpasswd-vis.gv.png b/hkexpasswd/hkexpasswd-vis.gv.png new file mode 100644 index 0000000..2df80a2 Binary files /dev/null and b/hkexpasswd/hkexpasswd-vis.gv.png differ diff --git a/hkexsh/Makefile b/hkexsh/Makefile index 307afd6..b4d319d 100644 --- a/hkexsh/Makefile +++ b/hkexsh/Makefile @@ -10,6 +10,6 @@ clean: $(RM) $(EXE) $(EXE).exe vis: - go-callvis -skipbrowser -svg -output hkexsh-vis -ignore $(EXTPKGS) -group pkg,type . + go-callvis -skipbrowser -svg -png -output hkexsh-vis -ignore $(EXTPKGS) -group pkg,type . diff --git a/hkexsh/hkexsh-vis.gv b/hkexsh/hkexsh-vis.gv index 68c517a..7ea9c73 100755 --- a/hkexsh/hkexsh-vis.gv +++ b/hkexsh/hkexsh-vis.gv @@ -14,75 +14,76 @@ digraph gocallvis { edge [minlen="2"] subgraph "cluster_focus" { - bgcolor="#e6ecfa"; -label="main"; + label="main"; labelloc="t"; labeljust="c"; fontsize="18"; +bgcolor="#e6ecfa"; - "blitter.com/go/hkexsh/hkexsh.reqTunnel" [ fillcolor="lightblue" label="reqTunnel" penwidth="0.5" ] - "blitter.com/go/hkexsh/hkexsh.launchTuns" [ penwidth="0.5" fillcolor="lightblue" label="launchTuns" ] - "blitter.com/go/hkexsh/hkexsh.rejectUserMsg" [ fillcolor="lightblue" label="rejectUserMsg" penwidth="0.5" ] - "blitter.com/go/hkexsh/hkexsh.main" [ penwidth="0.5" fillcolor="lightblue" label="main" ] - "blitter.com/go/hkexsh/hkexsh.parseNonSwitchArgs" [ label="parseNonSwitchArgs" penwidth="0.5" fillcolor="lightblue" ] - "blitter.com/go/hkexsh/hkexsh.main$1" [ label="main$1" style="dotted,filled" fillcolor="lightblue" ] - "blitter.com/go/hkexsh/hkexsh.main$2" [ fillcolor="lightblue" label="main$2" style="dotted,filled" ] - "blitter.com/go/hkexsh/hkexsh.doShellMode$1" [ label="doShellMode$1" style="dotted,filled" fillcolor="lightblue" ] - "blitter.com/go/hkexsh/hkexsh.doShellMode" [ fillcolor="lightblue" label="doShellMode" penwidth="0.5" ] + "blitter.com/go/hkexsh/hkexsh.doShellMode$2" [ label="doShellMode$2" style="dotted,filled" fillcolor="lightblue" ] + "blitter.com/go/hkexsh/hkexsh.doShellMode$2$1" [ fillcolor="lightblue" label="doShellMode$2$1" style="dotted,filled" ] + "blitter.com/go/hkexsh/hkexsh.doCopyMode" [ fillcolor="lightblue" label="doCopyMode" penwidth="0.5" ] + "blitter.com/go/hkexsh/hkexsh.main$1" [ fillcolor="lightblue" label="main$1" style="dotted,filled" ] + "blitter.com/go/hkexsh/hkexsh.main$2" [ style="dotted,filled" fillcolor="lightblue" label="main$2" ] "blitter.com/go/hkexsh/hkexsh.handleTermResizes$1" [ fillcolor="lightblue" label="handleTermResizes$1" style="dotted,filled" ] "blitter.com/go/hkexsh/hkexsh.GetSize" [ fillcolor="lightblue" label="GetSize" penwidth="1.5" ] + "blitter.com/go/hkexsh/hkexsh.rejectUserMsg" [ fillcolor="lightblue" label="rejectUserMsg" penwidth="0.5" ] + "blitter.com/go/hkexsh/hkexsh.reqTunnel" [ fillcolor="lightblue" label="reqTunnel" penwidth="0.5" ] + "blitter.com/go/hkexsh/hkexsh.launchTuns" [ label="launchTuns" penwidth="0.5" fillcolor="lightblue" ] + "blitter.com/go/hkexsh/hkexsh.sendSessionParams" [ fillcolor="lightblue" label="sendSessionParams" penwidth="0.5" ] + "blitter.com/go/hkexsh/hkexsh.doShellMode$1" [ fillcolor="lightblue" label="doShellMode$1" style="dotted,filled" ] + "blitter.com/go/hkexsh/hkexsh.doShellMode" [ fillcolor="lightblue" label="doShellMode" penwidth="0.5" ] "blitter.com/go/hkexsh/hkexsh.handleTermResizes" [ fillcolor="lightblue" label="handleTermResizes" penwidth="0.5" ] - "blitter.com/go/hkexsh/hkexsh.doShellMode$2" [ label="doShellMode$2" style="dotted,filled" fillcolor="lightblue" ] - "blitter.com/go/hkexsh/hkexsh.doShellMode$2$1" [ style="dotted,filled" fillcolor="lightblue" label="doShellMode$2$1" ] - "blitter.com/go/hkexsh/hkexsh.doCopyMode" [ fillcolor="lightblue" label="doCopyMode" penwidth="0.5" ] - "blitter.com/go/hkexsh/hkexsh.UsageShell" [ fillcolor="lightblue" label="UsageShell" penwidth="1.5" ] - "blitter.com/go/hkexsh/hkexsh.UsageCp" [ label="UsageCp" penwidth="1.5" fillcolor="lightblue" ] + "blitter.com/go/hkexsh/hkexsh.main" [ fillcolor="lightblue" label="main" penwidth="0.5" ] + "blitter.com/go/hkexsh/hkexsh.parseNonSwitchArgs" [ fillcolor="lightblue" label="parseNonSwitchArgs" penwidth="0.5" ] + "blitter.com/go/hkexsh/hkexsh.usageShell" [ fillcolor="lightblue" label="usageShell" penwidth="0.5" ] + "blitter.com/go/hkexsh/hkexsh.usageCp" [ fillcolor="lightblue" label="usageCp" penwidth="0.5" ] subgraph "cluster_blitter.com/go/hkexsh" { - fontsize="16"; -rank="sink"; -label="[hkexsh]"; -URL="/?f=blitter.com/go/hkexsh"; -penwidth="0.8"; + URL="/?f=blitter.com/go/hkexsh"; +tooltip="package: blitter.com/go/hkexsh"; +fontsize="16"; style="filled"; fillcolor="lightyellow"; +label="[hkexsh]"; +penwidth="0.8"; fontname="bold"; -tooltip="package: blitter.com/go/hkexsh"; +rank="sink"; - "blitter.com/go/hkexsh.MakeRaw" [ fillcolor="moccasin" label="MakeRaw" penwidth="1.5" ] "blitter.com/go/hkexsh.Restore" [ fillcolor="moccasin" label="Restore" penwidth="1.5" ] + "blitter.com/go/hkexsh.MakeRaw" [ fillcolor="moccasin" label="MakeRaw" penwidth="1.5" ] "blitter.com/go/hkexsh.ReadPassword" [ fillcolor="moccasin" label="ReadPassword" penwidth="1.5" ] "blitter.com/go/hkexsh.NewSession" [ fillcolor="moccasin" label="NewSession" penwidth="1.5" ] subgraph "cluster_*blitter.com/go/hkexsh.Session" { - fontsize="15"; -fontcolor="#222222"; -labelloc="b"; + labelloc="b"; style="rounded,filled"; fillcolor="wheat2"; label="(*Session)"; tooltip="type: *blitter.com/go/hkexsh.Session"; penwidth="0.5"; +fontsize="15"; +fontcolor="#222222"; "(*blitter.com/go/hkexsh.Session).SetStatus" [ fillcolor="moccasin" label="SetStatus" penwidth="1.5" ] } subgraph "cluster_blitter.com/go/hkexsh.Session" { - penwidth="0.5"; -fontsize="15"; -fontcolor="#222222"; -labelloc="b"; + labelloc="b"; style="rounded,filled"; fillcolor="wheat2"; label="(Session)"; tooltip="type: blitter.com/go/hkexsh.Session"; +penwidth="0.5"; +fontsize="15"; +fontcolor="#222222"; + "(blitter.com/go/hkexsh.Session).Cmd" [ fillcolor="moccasin" label="Cmd" penwidth="1.5" ] "(blitter.com/go/hkexsh.Session).Op" [ fillcolor="moccasin" label="Op" penwidth="1.5" ] "(blitter.com/go/hkexsh.Session).Who" [ fillcolor="moccasin" label="Who" penwidth="1.5" ] "(blitter.com/go/hkexsh.Session).ConnHost" [ fillcolor="moccasin" label="ConnHost" penwidth="1.5" ] "(blitter.com/go/hkexsh.Session).TermType" [ fillcolor="moccasin" label="TermType" penwidth="1.5" ] - "(blitter.com/go/hkexsh.Session).Cmd" [ fillcolor="moccasin" label="Cmd" penwidth="1.5" ] "(blitter.com/go/hkexsh.Session).AuthCookie" [ fillcolor="moccasin" label="AuthCookie" penwidth="1.5" ] "(blitter.com/go/hkexsh.Session).Status" [ fillcolor="moccasin" label="Status" penwidth="1.5" ] @@ -91,157 +92,159 @@ tooltip="type: blitter.com/go/hkexsh.Session"; } subgraph "cluster_blitter.com/go/hkexsh/hkexnet" { - style="filled"; -fillcolor="lightyellow"; -fontname="bold"; + fontname="bold"; +rank="sink"; label="[hkexnet]"; -URL="/?f=blitter.com/go/hkexsh/hkexnet"; tooltip="package: blitter.com/go/hkexsh/hkexnet"; penwidth="0.8"; fontsize="16"; -rank="sink"; +style="filled"; +fillcolor="lightyellow"; +URL="/?f=blitter.com/go/hkexsh/hkexnet"; - "blitter.com/go/hkexsh/hkexnet.Init" [ label="Init" penwidth="1.5" fillcolor="moccasin" ] - "blitter.com/go/hkexsh/hkexnet.Dial" [ fillcolor="moccasin" label="Dial" penwidth="1.5" ] + "blitter.com/go/hkexsh/hkexnet.Init" [ penwidth="1.5" fillcolor="moccasin" label="Init" ] + "blitter.com/go/hkexsh/hkexnet.Dial" [ penwidth="1.5" fillcolor="moccasin" label="Dial" ] subgraph "cluster_*blitter.com/go/hkexsh/hkexnet.Conn" { - labelloc="b"; + fontsize="15"; +fontcolor="#222222"; +labelloc="b"; style="rounded,filled"; fillcolor="wheat2"; label="(*Conn)"; tooltip="type: *blitter.com/go/hkexsh/hkexnet.Conn"; penwidth="0.5"; -fontsize="15"; -fontcolor="#222222"; "(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket" [ fillcolor="moccasin" label="WritePacket" penwidth="1.5" ] - "(*blitter.com/go/hkexsh/hkexnet.Conn).Close" [ label="Close" penwidth="1.5" fillcolor="moccasin" ] - "(*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff" [ label="SetupChaff" penwidth="1.5" fillcolor="moccasin" ] - "(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff" [ label="EnableChaff" penwidth="1.5" fillcolor="moccasin" ] + "(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus" [ fillcolor="moccasin" label="SetStatus" penwidth="1.5" ] + "(*blitter.com/go/hkexsh/hkexnet.Conn).Close" [ fillcolor="moccasin" label="Close" penwidth="1.5" ] + "(*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff" [ fillcolor="moccasin" label="SetupChaff" penwidth="1.5" ] + "(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff" [ fillcolor="moccasin" label="EnableChaff" penwidth="1.5" ] "(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff" [ fillcolor="moccasin" label="DisableChaff" penwidth="1.5" ] "(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff" [ fillcolor="moccasin" label="ShutdownChaff" penwidth="1.5" ] - "(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus" [ penwidth="1.5" fillcolor="moccasin" label="SetStatus" ] } subgraph "cluster_blitter.com/go/hkexsh/hkexnet.Conn" { - label="(Conn)"; -tooltip="type: blitter.com/go/hkexsh/hkexnet.Conn"; + tooltip="type: blitter.com/go/hkexsh/hkexnet.Conn"; penwidth="0.5"; fontsize="15"; fontcolor="#222222"; labelloc="b"; style="rounded,filled"; fillcolor="wheat2"; +label="(Conn)"; - "(blitter.com/go/hkexsh/hkexnet.Conn).Write" [ label="Write" penwidth="1.5" fillcolor="moccasin" ] - "(blitter.com/go/hkexsh/hkexnet.Conn).Read" [ fillcolor="moccasin" label="Read" penwidth="1.5" ] - "(blitter.com/go/hkexsh/hkexnet.Conn).GetStatus" [ penwidth="1.5" fillcolor="moccasin" label="GetStatus" ] + "(blitter.com/go/hkexsh/hkexnet.Conn).Read" [ penwidth="1.5" fillcolor="moccasin" label="Read" ] + "(blitter.com/go/hkexsh/hkexnet.Conn).GetStatus" [ fillcolor="moccasin" label="GetStatus" penwidth="1.5" ] + "(blitter.com/go/hkexsh/hkexnet.Conn).Write" [ fillcolor="moccasin" label="Write" penwidth="1.5" ] } } subgraph "cluster_blitter.com/go/hkexsh/logger" { - fillcolor="lightyellow"; + style="filled"; +fillcolor="lightyellow"; rank="sink"; label="[logger]"; +tooltip="package: blitter.com/go/hkexsh/logger"; penwidth="0.8"; -style="filled"; +fontsize="16"; fontname="bold"; URL="/?f=blitter.com/go/hkexsh/logger"; -tooltip="package: blitter.com/go/hkexsh/logger"; -fontsize="16"; - "blitter.com/go/hkexsh/logger.LogDebug" [ fillcolor="moccasin" label="LogDebug" penwidth="1.5" ] - "blitter.com/go/hkexsh/logger.New" [ penwidth="1.5" fillcolor="moccasin" label="New" ] + "blitter.com/go/hkexsh/logger.LogDebug" [ penwidth="1.5" fillcolor="moccasin" label="LogDebug" ] + "blitter.com/go/hkexsh/logger.New" [ fillcolor="moccasin" label="New" penwidth="1.5" ] } subgraph "cluster_blitter.com/go/hkexsh/spinsult" { fontsize="16"; +style="filled"; fontname="bold"; rank="sink"; URL="/?f=blitter.com/go/hkexsh/spinsult"; tooltip="package: blitter.com/go/hkexsh/spinsult"; penwidth="0.8"; -style="filled"; fillcolor="lightyellow"; label="[spinsult]"; - "blitter.com/go/hkexsh/spinsult.GetSentence" [ penwidth="1.5" fillcolor="moccasin" label="GetSentence" ] + "blitter.com/go/hkexsh/spinsult.GetSentence" [ fillcolor="moccasin" label="GetSentence" penwidth="1.5" ] } subgraph "cluster_github.com/mattn/go-isatty" { - label="[isatty]"; + fontsize="16"; +label="[isatty]"; URL="/?f=github.com/mattn/go-isatty"; +tooltip="package: github.com/mattn/go-isatty"; +rank="sink"; penwidth="0.8"; +style="filled"; fillcolor="lightyellow"; fontname="bold"; -tooltip="package: github.com/mattn/go-isatty"; -fontsize="16"; -style="filled"; -rank="sink"; - "github.com/mattn/go-isatty.IsTerminal" [ fillcolor="moccasin" label="IsTerminal" penwidth="1.5" ] + "github.com/mattn/go-isatty.IsTerminal" [ penwidth="1.5" fillcolor="moccasin" label="IsTerminal" ] } } - "blitter.com/go/hkexsh/hkexsh.reqTunnel" -> "blitter.com/go/hkexsh/logger.LogDebug" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.reqTunnel" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.launchTuns" -> "blitter.com/go/hkexsh/hkexsh.reqTunnel" [ ] - "blitter.com/go/hkexsh/hkexsh.rejectUserMsg" -> "blitter.com/go/hkexsh/spinsult.GetSentence" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.parseNonSwitchArgs" [ ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/logger.New" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexnet.Init" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexnet.Dial" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).Close" [ color="saddlebrown" arrowhead="normalnoneodiamond" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "github.com/mattn/go-isatty.IsTerminal" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh.MakeRaw" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main$1" -> "blitter.com/go/hkexsh.Restore" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.main$1" [ arrowhead="normalnoneodiamond" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh.ReadPassword" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh.NewSession" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(blitter.com/go/hkexsh.Session).Op" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(blitter.com/go/hkexsh.Session).Who" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(blitter.com/go/hkexsh.Session).ConnHost" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(blitter.com/go/hkexsh.Session).TermType" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(blitter.com/go/hkexsh.Session).Cmd" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(blitter.com/go/hkexsh.Session).AuthCookie" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(blitter.com/go/hkexsh/hkexnet.Conn).Write" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(blitter.com/go/hkexsh/hkexnet.Conn).Read" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.rejectUserMsg" [ ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh.Session).SetStatus" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff" [ color="saddlebrown" arrowhead="normalnoneodiamond" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff" [ arrowhead="normalnoneodiamond" color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main$2" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.main$2" [ arrowhead="normalnoneodot" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.launchTuns" [ ] - "blitter.com/go/hkexsh/hkexsh.doShellMode$1" -> "blitter.com/go/hkexsh.Restore" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.doShellMode$1" -> "(blitter.com/go/hkexsh/hkexnet.Conn).GetStatus" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.doShellMode$1" -> "(*blitter.com/go/hkexsh.Session).SetStatus" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.doShellMode" -> "blitter.com/go/hkexsh/hkexsh.doShellMode$1" [ arrowhead="normalnoneodot" ] - "blitter.com/go/hkexsh/hkexsh.handleTermResizes$1" -> "blitter.com/go/hkexsh/hkexsh.GetSize" [ ] - "blitter.com/go/hkexsh/hkexsh.handleTermResizes$1" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.handleTermResizes" -> "blitter.com/go/hkexsh/hkexsh.handleTermResizes$1" [ arrowhead="normalnoneodot" ] - "blitter.com/go/hkexsh/hkexsh.doShellMode" -> "blitter.com/go/hkexsh/hkexsh.handleTermResizes" [ ] "blitter.com/go/hkexsh/hkexsh.doShellMode$2" -> "blitter.com/go/hkexsh/hkexsh.doShellMode$2$1" [ ] "blitter.com/go/hkexsh/hkexsh.doShellMode$2" -> "blitter.com/go/hkexsh.Restore" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.doShellMode" -> "blitter.com/go/hkexsh/hkexsh.doShellMode$2" [ arrowhead="normalnoneodot" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.doShellMode" [ ] - "blitter.com/go/hkexsh/hkexsh.main" -> "(blitter.com/go/hkexsh.Session).Status" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexsh.doCopyMode" -> "(blitter.com/go/hkexsh.Session).Cmd" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexsh.doCopyMode" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexsh.doCopyMode" -> "(blitter.com/go/hkexsh/hkexnet.Conn).Read" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexsh.doCopyMode" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexsh.doCopyMode" -> "(blitter.com/go/hkexsh/hkexnet.Conn).GetStatus" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main$1" -> "blitter.com/go/hkexsh.Restore" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main$2" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.handleTermResizes$1" -> "blitter.com/go/hkexsh/hkexsh.GetSize" [ ] + "blitter.com/go/hkexsh/hkexsh.handleTermResizes$1" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.rejectUserMsg" -> "blitter.com/go/hkexsh/spinsult.GetSentence" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.reqTunnel" -> "blitter.com/go/hkexsh/logger.LogDebug" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.reqTunnel" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.launchTuns" -> "blitter.com/go/hkexsh/hkexsh.reqTunnel" [ ] + "blitter.com/go/hkexsh/hkexsh.sendSessionParams" -> "(blitter.com/go/hkexsh.Session).Op" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.sendSessionParams" -> "(blitter.com/go/hkexsh.Session).Who" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.sendSessionParams" -> "(blitter.com/go/hkexsh.Session).ConnHost" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.sendSessionParams" -> "(blitter.com/go/hkexsh.Session).TermType" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.sendSessionParams" -> "(blitter.com/go/hkexsh.Session).Cmd" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.sendSessionParams" -> "(blitter.com/go/hkexsh.Session).AuthCookie" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.sendSessionParams" -> "(blitter.com/go/hkexsh/hkexnet.Conn).Write" [ style="dashed" color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.doShellMode$1" -> "blitter.com/go/hkexsh.Restore" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.doShellMode$1" -> "(blitter.com/go/hkexsh/hkexnet.Conn).GetStatus" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.doShellMode$1" -> "(*blitter.com/go/hkexsh.Session).SetStatus" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.doShellMode$1" -> "(blitter.com/go/hkexsh.Session).Status" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.doShellMode" -> "blitter.com/go/hkexsh/hkexsh.doShellMode$1" [ arrowhead="normalnoneodot" ] + "blitter.com/go/hkexsh/hkexsh.handleTermResizes" -> "blitter.com/go/hkexsh/hkexsh.handleTermResizes$1" [ arrowhead="normalnoneodot" ] + "blitter.com/go/hkexsh/hkexsh.doShellMode" -> "blitter.com/go/hkexsh/hkexsh.handleTermResizes" [ ] + "blitter.com/go/hkexsh/hkexsh.doShellMode" -> "blitter.com/go/hkexsh/hkexsh.doShellMode$2" [ arrowhead="normalnoneodot" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.parseNonSwitchArgs" [ ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/logger.New" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexnet.Init" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexnet.Dial" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).Close" [ arrowhead="normalnoneodiamond" color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "github.com/mattn/go-isatty.IsTerminal" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh.MakeRaw" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.main$1" [ arrowhead="normalnoneodiamond" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh.ReadPassword" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh.NewSession" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.sendSessionParams" [ ] + "blitter.com/go/hkexsh/hkexsh.main" -> "(blitter.com/go/hkexsh/hkexnet.Conn).Read" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh.Session).SetStatus" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.rejectUserMsg" [ ] + "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff" [ arrowhead="normalnoneodiamond" color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff" [ arrowhead="normalnoneodiamond" color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.main$2" [ arrowhead="normalnoneodot" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.launchTuns" [ ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.doShellMode" [ ] + "blitter.com/go/hkexsh/hkexsh.main" -> "(blitter.com/go/hkexsh.Session).Status" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.doCopyMode" [ ] "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh.Restore" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.UsageShell" [ style="dashed" ] - "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.UsageCp" [ style="dashed" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.usageShell" [ style="dashed" ] + "blitter.com/go/hkexsh/hkexsh.main" -> "blitter.com/go/hkexsh/hkexsh.usageCp" [ style="dashed" ] } diff --git a/hkexsh/hkexsh-vis.gv.png b/hkexsh/hkexsh-vis.gv.png new file mode 100644 index 0000000..c3e6309 Binary files /dev/null and b/hkexsh/hkexsh-vis.gv.png differ diff --git a/hkexsh/hkexsh-vis.gv.svg b/hkexsh/hkexsh-vis.gv.svg index e9124db..4ab81ad 100644 --- a/hkexsh/hkexsh-vis.gv.svg +++ b/hkexsh/hkexsh-vis.gv.svg @@ -4,698 +4,716 @@ - - + + gocallvis - + blitter.com/go/hkexsh/hkexsh cluster_focus - -main + +main cluster_blitter.com/go/hkexsh - -[hkexsh] + +[hkexsh] cluster_*blitter.com/go/hkexsh.Session - -(*Session) + +(*Session) cluster_blitter.com/go/hkexsh.Session - -(Session) + +(Session) cluster_blitter.com/go/hkexsh/hkexnet - -[hkexnet] + +[hkexnet] cluster_*blitter.com/go/hkexsh/hkexnet.Conn - -(*Conn) + +(*Conn) cluster_blitter.com/go/hkexsh/hkexnet.Conn - -(Conn) + +(Conn) cluster_blitter.com/go/hkexsh/logger - -[logger] + +[logger] cluster_blitter.com/go/hkexsh/spinsult - -[spinsult] + +[spinsult] cluster_github.com/mattn/go-isatty - -[isatty] + +[isatty] - + -blitter.com/go/hkexsh/hkexsh.reqTunnel - -reqTunnel +blitter.com/go/hkexsh/hkexsh.doShellMode$2 + +doShellMode$2 - - -(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket - -WritePacket - - - -blitter.com/go/hkexsh/hkexsh.reqTunnel->(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket - - - - - -blitter.com/go/hkexsh/logger.LogDebug - -LogDebug - - - -blitter.com/go/hkexsh/hkexsh.reqTunnel->blitter.com/go/hkexsh/logger.LogDebug - - - - + -blitter.com/go/hkexsh/hkexsh.launchTuns - -launchTuns +blitter.com/go/hkexsh/hkexsh.doShellMode$2$1 + +doShellMode$2$1 - - -blitter.com/go/hkexsh/hkexsh.launchTuns->blitter.com/go/hkexsh/hkexsh.reqTunnel - - - - - -blitter.com/go/hkexsh/hkexsh.rejectUserMsg - -rejectUserMsg - - - -blitter.com/go/hkexsh/spinsult.GetSentence - -GetSentence - - - -blitter.com/go/hkexsh/hkexsh.rejectUserMsg->blitter.com/go/hkexsh/spinsult.GetSentence - - - - - -blitter.com/go/hkexsh/hkexsh.main - -main - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.launchTuns - - - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.rejectUserMsg - - - - - -blitter.com/go/hkexsh/hkexsh.parseNonSwitchArgs - -parseNonSwitchArgs - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.parseNonSwitchArgs - - - - - -blitter.com/go/hkexsh/hkexsh.main$1 - -main$1 - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.main$1 - - - - - - - -blitter.com/go/hkexsh/hkexsh.main$2 - -main$2 - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.main$2 - - - - - - - -blitter.com/go/hkexsh/hkexsh.doShellMode - -doShellMode - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.doShellMode - - - - - -blitter.com/go/hkexsh/hkexsh.doCopyMode - -doCopyMode - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.doCopyMode - - - - - -blitter.com/go/hkexsh/hkexsh.UsageShell - -UsageShell - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.UsageShell - - - - - -blitter.com/go/hkexsh/hkexsh.UsageCp - -UsageCp - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.UsageCp - - - - - -blitter.com/go/hkexsh.MakeRaw - -MakeRaw - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh.MakeRaw - - + + +blitter.com/go/hkexsh/hkexsh.doShellMode$2->blitter.com/go/hkexsh/hkexsh.doShellMode$2$1 + + blitter.com/go/hkexsh.Restore - -Restore + +Restore - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh.Restore - - + + +blitter.com/go/hkexsh/hkexsh.doShellMode$2->blitter.com/go/hkexsh.Restore + + - - -blitter.com/go/hkexsh.ReadPassword - -ReadPassword - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh.ReadPassword - - - - - -blitter.com/go/hkexsh.NewSession - -NewSession - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh.NewSession - - - - - -(*blitter.com/go/hkexsh.Session).SetStatus - -SetStatus - - - -blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh.Session).SetStatus - - - - - -(blitter.com/go/hkexsh.Session).Op - -Op - - - -blitter.com/go/hkexsh/hkexsh.main->(blitter.com/go/hkexsh.Session).Op - - - - - -(blitter.com/go/hkexsh.Session).Who - -Who - - - -blitter.com/go/hkexsh/hkexsh.main->(blitter.com/go/hkexsh.Session).Who - - - - - -(blitter.com/go/hkexsh.Session).ConnHost - -ConnHost - - - -blitter.com/go/hkexsh/hkexsh.main->(blitter.com/go/hkexsh.Session).ConnHost - - - - - -(blitter.com/go/hkexsh.Session).TermType - -TermType - - - -blitter.com/go/hkexsh/hkexsh.main->(blitter.com/go/hkexsh.Session).TermType - - + + +blitter.com/go/hkexsh/hkexsh.doCopyMode + +doCopyMode - + (blitter.com/go/hkexsh.Session).Cmd - -Cmd + +Cmd - - -blitter.com/go/hkexsh/hkexsh.main->(blitter.com/go/hkexsh.Session).Cmd - - + + +blitter.com/go/hkexsh/hkexsh.doCopyMode->(blitter.com/go/hkexsh.Session).Cmd + + - - -(blitter.com/go/hkexsh.Session).AuthCookie - -AuthCookie - - - -blitter.com/go/hkexsh/hkexsh.main->(blitter.com/go/hkexsh.Session).AuthCookie - - - - - -(blitter.com/go/hkexsh.Session).Status - -Status - - - -blitter.com/go/hkexsh/hkexsh.main->(blitter.com/go/hkexsh.Session).Status - - - - - -blitter.com/go/hkexsh/hkexnet.Init - -Init - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexnet.Init - - - - - -blitter.com/go/hkexsh/hkexnet.Dial - -Dial - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexnet.Dial - - - - + -(*blitter.com/go/hkexsh/hkexnet.Conn).Close - -Close +(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket + +WritePacket - - -blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh/hkexnet.Conn).Close - - - - + + +blitter.com/go/hkexsh/hkexsh.doCopyMode->(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket + + - + -(*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff - -SetupChaff +(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus + +SetStatus - - -blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff - - - - - -(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff - -EnableChaff - - - -blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff - - - - - -(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff - -DisableChaff - - - -blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff - - - - - - - -(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff - -ShutdownChaff - - - -blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff - - - - - - - -(blitter.com/go/hkexsh/hkexnet.Conn).Write - -Write - - - -blitter.com/go/hkexsh/hkexsh.main->(blitter.com/go/hkexsh/hkexnet.Conn).Write - - + + +blitter.com/go/hkexsh/hkexsh.doCopyMode->(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus + + (blitter.com/go/hkexsh/hkexnet.Conn).Read - -Read + +Read - - -blitter.com/go/hkexsh/hkexsh.main->(blitter.com/go/hkexsh/hkexnet.Conn).Read - - - - - -blitter.com/go/hkexsh/logger.New - -New - - - -blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/logger.New - - - - - -github.com/mattn/go-isatty.IsTerminal - -IsTerminal - - - -blitter.com/go/hkexsh/hkexsh.main->github.com/mattn/go-isatty.IsTerminal - - - - - -blitter.com/go/hkexsh/hkexsh.main$1->blitter.com/go/hkexsh.Restore - - - - - -blitter.com/go/hkexsh/hkexsh.main$2->(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket - - - - - -blitter.com/go/hkexsh/hkexsh.doShellMode$1 - -doShellMode$1 - - - -blitter.com/go/hkexsh/hkexsh.doShellMode$1->blitter.com/go/hkexsh.Restore - - - - - -blitter.com/go/hkexsh/hkexsh.doShellMode$1->(*blitter.com/go/hkexsh.Session).SetStatus - - + + +blitter.com/go/hkexsh/hkexsh.doCopyMode->(blitter.com/go/hkexsh/hkexnet.Conn).Read + + (blitter.com/go/hkexsh/hkexnet.Conn).GetStatus - -GetStatus - - - -blitter.com/go/hkexsh/hkexsh.doShellMode$1->(blitter.com/go/hkexsh/hkexnet.Conn).GetStatus - - - - - -blitter.com/go/hkexsh/hkexsh.doShellMode->blitter.com/go/hkexsh/hkexsh.doShellMode$1 - - - - - - - -blitter.com/go/hkexsh/hkexsh.handleTermResizes - -handleTermResizes - - - -blitter.com/go/hkexsh/hkexsh.doShellMode->blitter.com/go/hkexsh/hkexsh.handleTermResizes - - - - - -blitter.com/go/hkexsh/hkexsh.doShellMode$2 - -doShellMode$2 - - - -blitter.com/go/hkexsh/hkexsh.doShellMode->blitter.com/go/hkexsh/hkexsh.doShellMode$2 - - - - - - - -blitter.com/go/hkexsh/hkexsh.handleTermResizes$1 - -handleTermResizes$1 - - - -blitter.com/go/hkexsh/hkexsh.GetSize - -GetSize - - - -blitter.com/go/hkexsh/hkexsh.handleTermResizes$1->blitter.com/go/hkexsh/hkexsh.GetSize - - - - - -blitter.com/go/hkexsh/hkexsh.handleTermResizes$1->(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket - - - - - -blitter.com/go/hkexsh/hkexsh.handleTermResizes->blitter.com/go/hkexsh/hkexsh.handleTermResizes$1 - - - - - - - -blitter.com/go/hkexsh/hkexsh.doShellMode$2$1 - -doShellMode$2$1 - - - -blitter.com/go/hkexsh/hkexsh.doShellMode$2->blitter.com/go/hkexsh/hkexsh.doShellMode$2$1 - - - - - -blitter.com/go/hkexsh/hkexsh.doShellMode$2->blitter.com/go/hkexsh.Restore - - - - - -blitter.com/go/hkexsh/hkexsh.doCopyMode->(blitter.com/go/hkexsh.Session).Cmd - - - - - -blitter.com/go/hkexsh/hkexsh.doCopyMode->(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket - - - - - -(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus - -SetStatus - - - -blitter.com/go/hkexsh/hkexsh.doCopyMode->(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus - - - - - -blitter.com/go/hkexsh/hkexsh.doCopyMode->(blitter.com/go/hkexsh/hkexnet.Conn).Read - - + +GetStatus - + blitter.com/go/hkexsh/hkexsh.doCopyMode->(blitter.com/go/hkexsh/hkexnet.Conn).GetStatus - - + + + + + +blitter.com/go/hkexsh/hkexsh.main$1 + +main$1 + + + +blitter.com/go/hkexsh/hkexsh.main$1->blitter.com/go/hkexsh.Restore + + + + + +blitter.com/go/hkexsh/hkexsh.main$2 + +main$2 + + + +blitter.com/go/hkexsh/hkexsh.main$2->(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket + + + + + +blitter.com/go/hkexsh/hkexsh.handleTermResizes$1 + +handleTermResizes$1 + + + +blitter.com/go/hkexsh/hkexsh.GetSize + +GetSize + + + +blitter.com/go/hkexsh/hkexsh.handleTermResizes$1->blitter.com/go/hkexsh/hkexsh.GetSize + + + + + +blitter.com/go/hkexsh/hkexsh.handleTermResizes$1->(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket + + + + + +blitter.com/go/hkexsh/hkexsh.rejectUserMsg + +rejectUserMsg + + + +blitter.com/go/hkexsh/spinsult.GetSentence + +GetSentence + + + +blitter.com/go/hkexsh/hkexsh.rejectUserMsg->blitter.com/go/hkexsh/spinsult.GetSentence + + + + + +blitter.com/go/hkexsh/hkexsh.reqTunnel + +reqTunnel + + + +blitter.com/go/hkexsh/hkexsh.reqTunnel->(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket + + + + + +blitter.com/go/hkexsh/logger.LogDebug + +LogDebug + + + +blitter.com/go/hkexsh/hkexsh.reqTunnel->blitter.com/go/hkexsh/logger.LogDebug + + + + + +blitter.com/go/hkexsh/hkexsh.launchTuns + +launchTuns + + + +blitter.com/go/hkexsh/hkexsh.launchTuns->blitter.com/go/hkexsh/hkexsh.reqTunnel + + + + + +blitter.com/go/hkexsh/hkexsh.sendSessionParams + +sendSessionParams + + + +blitter.com/go/hkexsh/hkexsh.sendSessionParams->(blitter.com/go/hkexsh.Session).Cmd + + + + + +(blitter.com/go/hkexsh.Session).Op + +Op + + + +blitter.com/go/hkexsh/hkexsh.sendSessionParams->(blitter.com/go/hkexsh.Session).Op + + + + + +(blitter.com/go/hkexsh.Session).Who + +Who + + + +blitter.com/go/hkexsh/hkexsh.sendSessionParams->(blitter.com/go/hkexsh.Session).Who + + + + + +(blitter.com/go/hkexsh.Session).ConnHost + +ConnHost + + + +blitter.com/go/hkexsh/hkexsh.sendSessionParams->(blitter.com/go/hkexsh.Session).ConnHost + + + + + +(blitter.com/go/hkexsh.Session).TermType + +TermType + + + +blitter.com/go/hkexsh/hkexsh.sendSessionParams->(blitter.com/go/hkexsh.Session).TermType + + + + + +(blitter.com/go/hkexsh.Session).AuthCookie + +AuthCookie + + + +blitter.com/go/hkexsh/hkexsh.sendSessionParams->(blitter.com/go/hkexsh.Session).AuthCookie + + + + + +(blitter.com/go/hkexsh/hkexnet.Conn).Write + +Write + + + +blitter.com/go/hkexsh/hkexsh.sendSessionParams->(blitter.com/go/hkexsh/hkexnet.Conn).Write + + + + + +blitter.com/go/hkexsh/hkexsh.doShellMode$1 + +doShellMode$1 + + + +blitter.com/go/hkexsh/hkexsh.doShellMode$1->blitter.com/go/hkexsh.Restore + + + + + +(*blitter.com/go/hkexsh.Session).SetStatus + +SetStatus + + + +blitter.com/go/hkexsh/hkexsh.doShellMode$1->(*blitter.com/go/hkexsh.Session).SetStatus + + + + + +(blitter.com/go/hkexsh.Session).Status + +Status + + + +blitter.com/go/hkexsh/hkexsh.doShellMode$1->(blitter.com/go/hkexsh.Session).Status + + + + + +blitter.com/go/hkexsh/hkexsh.doShellMode$1->(blitter.com/go/hkexsh/hkexnet.Conn).GetStatus + + + + + +blitter.com/go/hkexsh/hkexsh.doShellMode + +doShellMode + + + +blitter.com/go/hkexsh/hkexsh.doShellMode->blitter.com/go/hkexsh/hkexsh.doShellMode$2 + + + + + + + +blitter.com/go/hkexsh/hkexsh.doShellMode->blitter.com/go/hkexsh/hkexsh.doShellMode$1 + + + + + + + +blitter.com/go/hkexsh/hkexsh.handleTermResizes + +handleTermResizes + + + +blitter.com/go/hkexsh/hkexsh.doShellMode->blitter.com/go/hkexsh/hkexsh.handleTermResizes + + + + + +blitter.com/go/hkexsh/hkexsh.handleTermResizes->blitter.com/go/hkexsh/hkexsh.handleTermResizes$1 + + + + + + + +blitter.com/go/hkexsh/hkexsh.main + +main + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.doCopyMode + + + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.main$1 + + + + + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.main$2 + + + + + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.rejectUserMsg + + + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.launchTuns + + + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.sendSessionParams + + + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.doShellMode + + + + + +blitter.com/go/hkexsh/hkexsh.parseNonSwitchArgs + +parseNonSwitchArgs + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.parseNonSwitchArgs + + + + + +blitter.com/go/hkexsh/hkexsh.usageShell + +usageShell + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.usageShell + + + + + +blitter.com/go/hkexsh/hkexsh.usageCp + +usageCp + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexsh.usageCp + + + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh.Restore + + + + + +blitter.com/go/hkexsh.MakeRaw + +MakeRaw + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh.MakeRaw + + + + + +blitter.com/go/hkexsh.ReadPassword + +ReadPassword + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh.ReadPassword + + + + + +blitter.com/go/hkexsh.NewSession + +NewSession + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh.NewSession + + + + + +blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh.Session).SetStatus + + + + + +blitter.com/go/hkexsh/hkexsh.main->(blitter.com/go/hkexsh.Session).Status + + + + + +blitter.com/go/hkexsh/hkexnet.Init + +Init + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexnet.Init + + + + + +blitter.com/go/hkexsh/hkexnet.Dial + +Dial + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/hkexnet.Dial + + + + + +(*blitter.com/go/hkexsh/hkexnet.Conn).Close + +Close + + + +blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh/hkexnet.Conn).Close + + + + + + + +(*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff + +SetupChaff + + + +blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff + + + + + +(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff + +EnableChaff + + + +blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff + + + + + +(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff + +DisableChaff + + + +blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff + + + + + + + +(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff + +ShutdownChaff + + + +blitter.com/go/hkexsh/hkexsh.main->(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff + + + + + + + +blitter.com/go/hkexsh/hkexsh.main->(blitter.com/go/hkexsh/hkexnet.Conn).Read + + + + + +blitter.com/go/hkexsh/logger.New + +New + + + +blitter.com/go/hkexsh/hkexsh.main->blitter.com/go/hkexsh/logger.New + + + + + +github.com/mattn/go-isatty.IsTerminal + +IsTerminal + + + +blitter.com/go/hkexsh/hkexsh.main->github.com/mattn/go-isatty.IsTerminal + + diff --git a/hkexshd/Makefile b/hkexshd/Makefile index 613282b..7e41914 100644 --- a/hkexshd/Makefile +++ b/hkexshd/Makefile @@ -10,5 +10,5 @@ clean: $(RM) $(EXE) $(EXE).exe vis: - go-callvis -skipbrowser -svg -output hkexshd-vis -ignore $(EXTPKGS) -group pkg,type . + go-callvis -skipbrowser -png -svg -output hkexshd-vis -ignore $(EXTPKGS) -group pkg,type . diff --git a/hkexshd/hkexshd-vis.gv b/hkexshd/hkexshd-vis.gv index 1962b31..dbad6cc 100755 --- a/hkexshd/hkexshd-vis.gv +++ b/hkexshd/hkexshd-vis.gv @@ -14,72 +14,72 @@ digraph gocallvis { edge [minlen="2"] subgraph "cluster_focus" { - bgcolor="#e6ecfa"; + fontsize="18"; +bgcolor="#e6ecfa"; label="main"; labelloc="t"; labeljust="c"; -fontsize="18"; + "blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs" [ label="runServerToClientCopyAs" penwidth="0.5" fillcolor="lightblue" ] + "blitter.com/go/hkexsh/hkexshd.main$2$1" [ fillcolor="lightblue" label="main$2$1" style="dotted,filled" ] "blitter.com/go/hkexsh/hkexshd.main" [ fillcolor="lightblue" label="main" penwidth="0.5" ] - "blitter.com/go/hkexsh/hkexshd.main$1" [ label="main$1" style="dotted,filled" fillcolor="lightblue" ] + "blitter.com/go/hkexsh/hkexshd.main$1" [ fillcolor="lightblue" label="main$1" style="dotted,filled" ] "blitter.com/go/hkexsh/hkexshd.main$2" [ fillcolor="lightblue" label="main$2" style="dotted,filled" ] - "blitter.com/go/hkexsh/hkexshd.GenAuthToken" [ label="GenAuthToken" penwidth="1.5" fillcolor="lightblue" ] + "blitter.com/go/hkexsh/hkexshd.GenAuthToken" [ penwidth="1.5" fillcolor="lightblue" label="GenAuthToken" ] "blitter.com/go/hkexsh/hkexshd.runShellAs" [ fillcolor="lightblue" label="runShellAs" penwidth="0.5" ] "blitter.com/go/hkexsh/hkexshd.runShellAs$1" [ fillcolor="lightblue" label="runShellAs$1" style="dotted,filled" ] - "blitter.com/go/hkexsh/hkexshd.runShellAs$2" [ fillcolor="lightblue" label="runShellAs$2" style="dotted,filled" ] + "blitter.com/go/hkexsh/hkexshd.runShellAs$2" [ label="runShellAs$2" style="dotted,filled" fillcolor="lightblue" ] "blitter.com/go/hkexsh/hkexshd.runShellAs$3" [ fillcolor="lightblue" label="runShellAs$3" style="dotted,filled" ] "blitter.com/go/hkexsh/hkexshd.runShellAs$4" [ fillcolor="lightblue" label="runShellAs$4" style="dotted,filled" ] - "blitter.com/go/hkexsh/hkexshd.main$2$1" [ fillcolor="lightblue" label="main$2$1" style="dotted,filled" ] "blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs" [ fillcolor="lightblue" label="runClientToServerCopyAs" penwidth="0.5" ] - "blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs" [ fillcolor="lightblue" label="runServerToClientCopyAs" penwidth="0.5" ] subgraph "cluster_blitter.com/go/goutmp" { - URL="/?f=blitter.com/go/goutmp"; -tooltip="package: blitter.com/go/goutmp"; -fillcolor="lightyellow"; + fontsize="16"; +style="filled"; fontname="bold"; +URL="/?f=blitter.com/go/goutmp"; +penwidth="0.8"; +fillcolor="lightyellow"; rank="sink"; label="[goutmp]"; -penwidth="0.8"; -fontsize="16"; -style="filled"; +tooltip="package: blitter.com/go/goutmp"; - "blitter.com/go/goutmp.GetHost" [ fillcolor="moccasin" label="GetHost" penwidth="1.5" ] - "blitter.com/go/goutmp.Put_utmp" [ fillcolor="moccasin" label="Put_utmp" penwidth="1.5" ] "blitter.com/go/goutmp.Unput_utmp" [ fillcolor="moccasin" label="Unput_utmp" penwidth="1.5" ] + "blitter.com/go/goutmp.GetHost" [ fillcolor="moccasin" label="GetHost" penwidth="1.5" ] + "blitter.com/go/goutmp.Put_utmp" [ penwidth="1.5" fillcolor="moccasin" label="Put_utmp" ] "blitter.com/go/goutmp.Put_lastlog_entry" [ fillcolor="moccasin" label="Put_lastlog_entry" penwidth="1.5" ] } subgraph "cluster_blitter.com/go/hkexsh" { - penwidth="0.8"; -fontsize="16"; -style="filled"; + fontsize="16"; fontname="bold"; rank="sink"; -label="[hkexsh]"; URL="/?f=blitter.com/go/hkexsh"; -fillcolor="lightyellow"; tooltip="package: blitter.com/go/hkexsh"; +penwidth="0.8"; +style="filled"; +fillcolor="lightyellow"; +label="[hkexsh]"; "blitter.com/go/hkexsh.AuthUserByToken" [ fillcolor="moccasin" label="AuthUserByToken" penwidth="1.5" ] - "blitter.com/go/hkexsh.AuthUserByPasswd" [ fillcolor="moccasin" label="AuthUserByPasswd" penwidth="1.5" ] + "blitter.com/go/hkexsh.AuthUserByPasswd" [ penwidth="1.5" fillcolor="moccasin" label="AuthUserByPasswd" ] subgraph "cluster_*blitter.com/go/hkexsh.Session" { - style="rounded,filled"; -fillcolor="wheat2"; + fillcolor="wheat2"; label="(*Session)"; tooltip="type: *blitter.com/go/hkexsh.Session"; penwidth="0.5"; fontsize="15"; fontcolor="#222222"; labelloc="b"; +style="rounded,filled"; - "(*blitter.com/go/hkexsh.Session).SetOp" [ label="SetOp" penwidth="1.5" fillcolor="moccasin" ] + "(*blitter.com/go/hkexsh.Session).SetOp" [ fillcolor="moccasin" label="SetOp" penwidth="1.5" ] "(*blitter.com/go/hkexsh.Session).SetWho" [ fillcolor="moccasin" label="SetWho" penwidth="1.5" ] - "(*blitter.com/go/hkexsh.Session).SetConnHost" [ fillcolor="moccasin" label="SetConnHost" penwidth="1.5" ] + "(*blitter.com/go/hkexsh.Session).SetConnHost" [ penwidth="1.5" fillcolor="moccasin" label="SetConnHost" ] "(*blitter.com/go/hkexsh.Session).SetTermType" [ fillcolor="moccasin" label="SetTermType" penwidth="1.5" ] - "(*blitter.com/go/hkexsh.Session).SetCmd" [ fillcolor="moccasin" label="SetCmd" penwidth="1.5" ] + "(*blitter.com/go/hkexsh.Session).SetCmd" [ label="SetCmd" penwidth="1.5" fillcolor="moccasin" ] "(*blitter.com/go/hkexsh.Session).SetAuthCookie" [ fillcolor="moccasin" label="SetAuthCookie" penwidth="1.5" ] "(*blitter.com/go/hkexsh.Session).ClearAuthCookie" [ fillcolor="moccasin" label="ClearAuthCookie" penwidth="1.5" ] @@ -98,46 +98,46 @@ style="rounded,filled"; "(blitter.com/go/hkexsh.Session).Op" [ fillcolor="moccasin" label="Op" penwidth="1.5" ] "(blitter.com/go/hkexsh.Session).Who" [ fillcolor="moccasin" label="Who" penwidth="1.5" ] "(blitter.com/go/hkexsh.Session).ConnHost" [ fillcolor="moccasin" label="ConnHost" penwidth="1.5" ] - "(blitter.com/go/hkexsh.Session).Cmd" [ label="Cmd" penwidth="1.5" fillcolor="moccasin" ] + "(blitter.com/go/hkexsh.Session).Cmd" [ fillcolor="moccasin" label="Cmd" penwidth="1.5" ] "(blitter.com/go/hkexsh.Session).AuthCookie" [ fillcolor="moccasin" label="AuthCookie" penwidth="1.5" ] - "(blitter.com/go/hkexsh.Session).TermType" [ penwidth="1.5" fillcolor="moccasin" label="TermType" ] + "(blitter.com/go/hkexsh.Session).TermType" [ fillcolor="moccasin" label="TermType" penwidth="1.5" ] } } subgraph "cluster_blitter.com/go/hkexsh/hkexnet" { - penwidth="0.8"; -fontsize="16"; -fontname="bold"; -rank="sink"; + rank="sink"; +URL="/?f=blitter.com/go/hkexsh/hkexnet"; tooltip="package: blitter.com/go/hkexsh/hkexnet"; +fontsize="16"; style="filled"; +fontname="bold"; +penwidth="0.8"; fillcolor="lightyellow"; label="[hkexnet]"; -URL="/?f=blitter.com/go/hkexsh/hkexnet"; "blitter.com/go/hkexsh/hkexnet.Init" [ fillcolor="moccasin" label="Init" penwidth="1.5" ] - "blitter.com/go/hkexsh/hkexnet.Listen" [ label="Listen" penwidth="1.5" fillcolor="moccasin" ] + "blitter.com/go/hkexsh/hkexnet.Listen" [ fillcolor="moccasin" label="Listen" penwidth="1.5" ] subgraph "cluster_*blitter.com/go/hkexsh/hkexnet.Conn" { - style="rounded,filled"; -fillcolor="wheat2"; -label="(*Conn)"; + label="(*Conn)"; tooltip="type: *blitter.com/go/hkexsh/hkexnet.Conn"; penwidth="0.5"; fontsize="15"; fontcolor="#222222"; labelloc="b"; +style="rounded,filled"; +fillcolor="wheat2"; - "(*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff" [ fillcolor="moccasin" label="SetupChaff" penwidth="1.5" ] - "(*blitter.com/go/hkexsh/hkexnet.Conn).Close" [ label="Close" penwidth="1.5" fillcolor="moccasin" ] - "(*blitter.com/go/hkexsh/hkexnet.Conn).RemoteAddr" [ fillcolor="moccasin" label="RemoteAddr" penwidth="1.5" ] - "(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff" [ penwidth="1.5" fillcolor="moccasin" label="EnableChaff" ] + "(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff" [ fillcolor="moccasin" label="EnableChaff" penwidth="1.5" ] "(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff" [ fillcolor="moccasin" label="DisableChaff" penwidth="1.5" ] - "(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff" [ label="ShutdownChaff" penwidth="1.5" fillcolor="moccasin" ] - "(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus" [ fillcolor="moccasin" label="SetStatus" penwidth="1.5" ] - "(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket" [ label="WritePacket" penwidth="1.5" fillcolor="moccasin" ] + "(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff" [ fillcolor="moccasin" label="ShutdownChaff" penwidth="1.5" ] + "(*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff" [ fillcolor="moccasin" label="SetupChaff" penwidth="1.5" ] + "(*blitter.com/go/hkexsh/hkexnet.Conn).Close" [ fillcolor="moccasin" label="Close" penwidth="1.5" ] + "(*blitter.com/go/hkexsh/hkexnet.Conn).RemoteAddr" [ fillcolor="moccasin" label="RemoteAddr" penwidth="1.5" ] + "(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus" [ label="SetStatus" penwidth="1.5" fillcolor="moccasin" ] + "(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket" [ penwidth="1.5" fillcolor="moccasin" label="WritePacket" ] } @@ -156,28 +156,28 @@ label="(*HKExListener)"; } subgraph "cluster_blitter.com/go/hkexsh/hkexnet.Conn" { - tooltip="type: blitter.com/go/hkexsh/hkexnet.Conn"; -penwidth="0.5"; -fontsize="15"; + fontsize="15"; fontcolor="#222222"; labelloc="b"; style="rounded,filled"; fillcolor="wheat2"; label="(Conn)"; +tooltip="type: blitter.com/go/hkexsh/hkexnet.Conn"; +penwidth="0.5"; "(blitter.com/go/hkexsh/hkexnet.Conn).Write" [ fillcolor="moccasin" label="Write" penwidth="1.5" ] } subgraph "cluster_blitter.com/go/hkexsh/hkexnet.HKExListener" { - fontsize="15"; -fontcolor="#222222"; -labelloc="b"; -style="rounded,filled"; -fillcolor="wheat2"; + fillcolor="wheat2"; label="(HKExListener)"; tooltip="type: blitter.com/go/hkexsh/hkexnet.HKExListener"; penwidth="0.5"; +fontsize="15"; +fontcolor="#222222"; +labelloc="b"; +style="rounded,filled"; "(blitter.com/go/hkexsh/hkexnet.HKExListener).Close" [ fillcolor="moccasin" label="Close" penwidth="1.5" ] @@ -186,40 +186,44 @@ penwidth="0.5"; } subgraph "cluster_blitter.com/go/hkexsh/logger" { - label="[logger]"; + URL="/?f=blitter.com/go/hkexsh/logger"; tooltip="package: blitter.com/go/hkexsh/logger"; -rank="sink"; +penwidth="0.8"; fontsize="16"; style="filled"; fillcolor="lightyellow"; +rank="sink"; +label="[logger]"; fontname="bold"; -URL="/?f=blitter.com/go/hkexsh/logger"; -penwidth="0.8"; - "blitter.com/go/hkexsh/logger.New" [ penwidth="1.5" fillcolor="moccasin" label="New" ] - "blitter.com/go/hkexsh/logger.LogNotice" [ fillcolor="moccasin" label="LogNotice" penwidth="1.5" ] + "blitter.com/go/hkexsh/logger.New" [ fillcolor="moccasin" label="New" penwidth="1.5" ] + "blitter.com/go/hkexsh/logger.LogNotice" [ label="LogNotice" penwidth="1.5" fillcolor="moccasin" ] "blitter.com/go/hkexsh/logger.LogErr" [ fillcolor="moccasin" label="LogErr" penwidth="1.5" ] } subgraph "cluster_github.com/kr/pty" { - tooltip="package: github.com/kr/pty"; + style="filled"; +penwidth="0.8"; fontsize="16"; -fontname="bold"; +rank="sink"; label="[pty]"; URL="/?f=github.com/kr/pty"; -penwidth="0.8"; -style="filled"; +tooltip="package: github.com/kr/pty"; fillcolor="lightyellow"; -rank="sink"; +fontname="bold"; - "github.com/kr/pty.Start" [ penwidth="1.5" fillcolor="moccasin" label="Start" ] + "github.com/kr/pty.Start" [ label="Start" penwidth="1.5" fillcolor="moccasin" ] "github.com/kr/pty.Setsize" [ fillcolor="moccasin" label="Setsize" penwidth="1.5" ] } } + "blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff" [ color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff" [ arrowhead="normalnoneodiamond" color="saddlebrown" ] + "blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff" [ color="saddlebrown" arrowhead="normalnoneodiamond" ] + "blitter.com/go/hkexsh/hkexshd.main$2$1" -> "blitter.com/go/goutmp.Unput_utmp" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexshd.main" -> "blitter.com/go/hkexsh/logger.New" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexshd.main" -> "blitter.com/go/hkexsh/hkexnet.Init" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexshd.main$1" -> "blitter.com/go/hkexsh/logger.LogNotice" [ color="saddlebrown" ] @@ -263,7 +267,6 @@ rank="sink"; "blitter.com/go/hkexsh/hkexshd.main$2" -> "blitter.com/go/hkexsh/logger.LogErr" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexshd.main$2" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexshd.main$2" -> "blitter.com/go/goutmp.Put_utmp" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexshd.main$2$1" -> "blitter.com/go/goutmp.Unput_utmp" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexshd.main$2" -> "blitter.com/go/hkexsh/hkexshd.main$2$1" [ arrowhead="normalnoneodiamond" ] "blitter.com/go/hkexsh/hkexshd.main$2" -> "blitter.com/go/goutmp.Put_lastlog_entry" [ color="saddlebrown" ] "blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff" [ color="saddlebrown" ] @@ -271,9 +274,6 @@ rank="sink"; "blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff" [ arrowhead="normalnoneodiamond" color="saddlebrown" ] "blitter.com/go/hkexsh/hkexshd.main$2" -> "blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs" [ ] "blitter.com/go/hkexsh/hkexshd.main$2" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff" [ color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff" [ arrowhead="normalnoneodiamond" color="saddlebrown" ] - "blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs" -> "(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff" [ arrowhead="normalnoneodiamond" color="saddlebrown" ] "blitter.com/go/hkexsh/hkexshd.main$2" -> "blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs" [ ] "blitter.com/go/hkexsh/hkexshd.main" -> "blitter.com/go/hkexsh/hkexshd.main$2" [ arrowhead="normalnoneodot" ] } diff --git a/hkexshd/hkexshd-vis.gv.png b/hkexshd/hkexshd-vis.gv.png new file mode 100644 index 0000000..a5d2d34 Binary files /dev/null and b/hkexshd/hkexshd-vis.gv.png differ diff --git a/hkexshd/hkexshd-vis.gv.svg b/hkexshd/hkexshd-vis.gv.svg index 9d89f90..0ce273f 100644 --- a/hkexshd/hkexshd-vis.gv.svg +++ b/hkexshd/hkexshd-vis.gv.svg @@ -4,764 +4,764 @@ - - + + gocallvis - + blitter.com/go/hkexsh/hkexshd cluster_focus - -main + +main cluster_blitter.com/go/goutmp - -[goutmp] + +[goutmp] cluster_blitter.com/go/hkexsh - -[hkexsh] + +[hkexsh] cluster_*blitter.com/go/hkexsh.Session - -(*Session) + +(*Session) cluster_blitter.com/go/hkexsh.Session - -(Session) + +(Session) cluster_blitter.com/go/hkexsh/hkexnet - -[hkexnet] + +[hkexnet] cluster_*blitter.com/go/hkexsh/hkexnet.Conn - -(*Conn) + +(*Conn) cluster_*blitter.com/go/hkexsh/hkexnet.HKExListener - -(*HKExListener) + +(*HKExListener) cluster_blitter.com/go/hkexsh/hkexnet.Conn - -(Conn) + +(Conn) cluster_blitter.com/go/hkexsh/hkexnet.HKExListener - -(HKExListener) + +(HKExListener) cluster_blitter.com/go/hkexsh/logger - -[logger] + +[logger] cluster_github.com/kr/pty - -[pty] + +[pty] - + +blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs + +runServerToClientCopyAs + + + +(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff + +EnableChaff + + + +blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs->(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff + + + + + +(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff + +DisableChaff + + + +blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs->(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff + + + + + + + +(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff + +ShutdownChaff + + + +blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs->(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff + + + + + + + +blitter.com/go/hkexsh/hkexshd.main$2$1 + +main$2$1 + + + +blitter.com/go/goutmp.Unput_utmp + +Unput_utmp + + + +blitter.com/go/hkexsh/hkexshd.main$2$1->blitter.com/go/goutmp.Unput_utmp + + + + + blitter.com/go/hkexsh/hkexshd.main - -main + +main - + blitter.com/go/hkexsh/hkexshd.main$1 - -main$1 + +main$1 - + blitter.com/go/hkexsh/hkexshd.main->blitter.com/go/hkexsh/hkexshd.main$1 - - - - + + + + - + blitter.com/go/hkexsh/hkexshd.main$2 - -main$2 + +main$2 blitter.com/go/hkexsh/hkexshd.main->blitter.com/go/hkexsh/hkexshd.main$2 - - - - + + + + blitter.com/go/hkexsh/hkexnet.Init - -Init + +Init - + blitter.com/go/hkexsh/hkexshd.main->blitter.com/go/hkexsh/hkexnet.Init - - + + blitter.com/go/hkexsh/hkexnet.Listen - -Listen + +Listen - + blitter.com/go/hkexsh/hkexshd.main->blitter.com/go/hkexsh/hkexnet.Listen - - + + - + (*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff - -SetupChaff + +SetupChaff - + blitter.com/go/hkexsh/hkexshd.main->(*blitter.com/go/hkexsh/hkexnet.Conn).SetupChaff - - + + (*blitter.com/go/hkexsh/hkexnet.HKExListener).Accept - -Accept + +Accept - + blitter.com/go/hkexsh/hkexshd.main->(*blitter.com/go/hkexsh/hkexnet.HKExListener).Accept - - + + (blitter.com/go/hkexsh/hkexnet.HKExListener).Close - -Close + +Close - + blitter.com/go/hkexsh/hkexshd.main->(blitter.com/go/hkexsh/hkexnet.HKExListener).Close - - - - + + + + blitter.com/go/hkexsh/logger.New - -New + +New - + blitter.com/go/hkexsh/hkexshd.main->blitter.com/go/hkexsh/logger.New - - + + blitter.com/go/hkexsh/logger.LogNotice - -LogNotice + +LogNotice - + blitter.com/go/hkexsh/hkexshd.main$1->blitter.com/go/hkexsh/logger.LogNotice - - - - - -blitter.com/go/hkexsh/hkexshd.GenAuthToken - -GenAuthToken - - - -blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh/hkexshd.GenAuthToken - - - - - -blitter.com/go/hkexsh/hkexshd.runShellAs - -runShellAs - - - -blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh/hkexshd.runShellAs - - - - - -blitter.com/go/hkexsh/hkexshd.main$2$1 - -main$2$1 - - - -blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh/hkexshd.main$2$1 - - - - - - - -blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs - -runClientToServerCopyAs - - - -blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs - - - - - -blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs - -runServerToClientCopyAs + + blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs - - + + + + + +blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh/hkexshd.main$2$1 + + + + + + + +blitter.com/go/hkexsh/hkexshd.GenAuthToken + +GenAuthToken + + + +blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh/hkexshd.GenAuthToken + + + + + +blitter.com/go/hkexsh/hkexshd.runShellAs + +runShellAs + + + +blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh/hkexshd.runShellAs + + + + + +blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs + +runClientToServerCopyAs + + + +blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs + + - + blitter.com/go/goutmp.GetHost - -GetHost + +GetHost - + blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/goutmp.GetHost - - + + - + blitter.com/go/goutmp.Put_utmp - -Put_utmp + +Put_utmp - + blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/goutmp.Put_utmp - - + + blitter.com/go/goutmp.Put_lastlog_entry - -Put_lastlog_entry + +Put_lastlog_entry - + blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/goutmp.Put_lastlog_entry - - + + blitter.com/go/hkexsh.AuthUserByToken - -AuthUserByToken + +AuthUserByToken - + blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh.AuthUserByToken - - + + blitter.com/go/hkexsh.AuthUserByPasswd - -AuthUserByPasswd + +AuthUserByPasswd - + blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh.AuthUserByPasswd - - + + (*blitter.com/go/hkexsh.Session).SetOp - -SetOp + +SetOp - + blitter.com/go/hkexsh/hkexshd.main$2->(*blitter.com/go/hkexsh.Session).SetOp - - + + (*blitter.com/go/hkexsh.Session).SetWho - -SetWho + +SetWho - + blitter.com/go/hkexsh/hkexshd.main$2->(*blitter.com/go/hkexsh.Session).SetWho - - + + (*blitter.com/go/hkexsh.Session).SetConnHost - -SetConnHost + +SetConnHost - + blitter.com/go/hkexsh/hkexshd.main$2->(*blitter.com/go/hkexsh.Session).SetConnHost - - + + (*blitter.com/go/hkexsh.Session).SetTermType - -SetTermType + +SetTermType - + blitter.com/go/hkexsh/hkexshd.main$2->(*blitter.com/go/hkexsh.Session).SetTermType - - + + (*blitter.com/go/hkexsh.Session).SetCmd - -SetCmd + +SetCmd - + blitter.com/go/hkexsh/hkexshd.main$2->(*blitter.com/go/hkexsh.Session).SetCmd - - + + (*blitter.com/go/hkexsh.Session).SetAuthCookie - -SetAuthCookie + +SetAuthCookie - + blitter.com/go/hkexsh/hkexshd.main$2->(*blitter.com/go/hkexsh.Session).SetAuthCookie - - + + (*blitter.com/go/hkexsh.Session).ClearAuthCookie - -ClearAuthCookie + +ClearAuthCookie - + blitter.com/go/hkexsh/hkexshd.main$2->(*blitter.com/go/hkexsh.Session).ClearAuthCookie - - + + (blitter.com/go/hkexsh.Session).Op - -Op + +Op - + blitter.com/go/hkexsh/hkexshd.main$2->(blitter.com/go/hkexsh.Session).Op - - + + (blitter.com/go/hkexsh.Session).Who - -Who + +Who - + blitter.com/go/hkexsh/hkexshd.main$2->(blitter.com/go/hkexsh.Session).Who - - + + (blitter.com/go/hkexsh.Session).ConnHost - -ConnHost + +ConnHost - + blitter.com/go/hkexsh/hkexshd.main$2->(blitter.com/go/hkexsh.Session).ConnHost - - + + (blitter.com/go/hkexsh.Session).Cmd - -Cmd + +Cmd - + blitter.com/go/hkexsh/hkexshd.main$2->(blitter.com/go/hkexsh.Session).Cmd - - + + (blitter.com/go/hkexsh.Session).AuthCookie - -AuthCookie + +AuthCookie - + blitter.com/go/hkexsh/hkexshd.main$2->(blitter.com/go/hkexsh.Session).AuthCookie - - + + (blitter.com/go/hkexsh.Session).TermType - -TermType + +TermType - + blitter.com/go/hkexsh/hkexshd.main$2->(blitter.com/go/hkexsh.Session).TermType - - + + - + (*blitter.com/go/hkexsh/hkexnet.Conn).Close - -Close + +Close - + blitter.com/go/hkexsh/hkexshd.main$2->(*blitter.com/go/hkexsh/hkexnet.Conn).Close - - - - + + + + - + (*blitter.com/go/hkexsh/hkexnet.Conn).RemoteAddr - -RemoteAddr + +RemoteAddr - + blitter.com/go/hkexsh/hkexshd.main$2->(*blitter.com/go/hkexsh/hkexnet.Conn).RemoteAddr - - + + (*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus - -SetStatus + +SetStatus - + blitter.com/go/hkexsh/hkexshd.main$2->(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus - - + + (*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket - -WritePacket + +WritePacket - + blitter.com/go/hkexsh/hkexshd.main$2->(*blitter.com/go/hkexsh/hkexnet.Conn).WritePacket - - + + (blitter.com/go/hkexsh/hkexnet.Conn).Write - -Write + +Write - + blitter.com/go/hkexsh/hkexshd.main$2->(blitter.com/go/hkexsh/hkexnet.Conn).Write - - + + - + blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh/logger.LogNotice - - + + blitter.com/go/hkexsh/logger.LogErr - -LogErr + +LogErr - + blitter.com/go/hkexsh/hkexshd.main$2->blitter.com/go/hkexsh/logger.LogErr - - + + - + blitter.com/go/hkexsh/hkexshd.runShellAs$1 - -runShellAs$1 + +runShellAs$1 - + blitter.com/go/hkexsh/hkexshd.runShellAs->blitter.com/go/hkexsh/hkexshd.runShellAs$1 - - - - + + + + - + blitter.com/go/hkexsh/hkexshd.runShellAs$2 - -runShellAs$2 + +runShellAs$2 - + blitter.com/go/hkexsh/hkexshd.runShellAs->blitter.com/go/hkexsh/hkexshd.runShellAs$2 - - - - + + + + - + blitter.com/go/hkexsh/hkexshd.runShellAs$3 - -runShellAs$3 + +runShellAs$3 - + blitter.com/go/hkexsh/hkexshd.runShellAs->blitter.com/go/hkexsh/hkexshd.runShellAs$3 - - - - + + + + - + blitter.com/go/hkexsh/hkexshd.runShellAs$4 - -runShellAs$4 + +runShellAs$4 - + blitter.com/go/hkexsh/hkexshd.runShellAs->blitter.com/go/hkexsh/hkexshd.runShellAs$4 - - - - - - - -(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff - -EnableChaff + + + + - + blitter.com/go/hkexsh/hkexshd.runShellAs->(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff - - - - - -(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff - -DisableChaff + + - + blitter.com/go/hkexsh/hkexshd.runShellAs->(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff - - - - - - - -(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff - -ShutdownChaff + + + + - + blitter.com/go/hkexsh/hkexshd.runShellAs->(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff - - - - + + + + - + blitter.com/go/hkexsh/hkexshd.runShellAs->(*blitter.com/go/hkexsh/hkexnet.Conn).SetStatus - - + + github.com/kr/pty.Start - -Start + +Start - + blitter.com/go/hkexsh/hkexshd.runShellAs->github.com/kr/pty.Start - - + + github.com/kr/pty.Setsize - -Setsize + +Setsize - + blitter.com/go/hkexsh/hkexshd.runShellAs$2->github.com/kr/pty.Setsize - - - - - -blitter.com/go/goutmp.Unput_utmp - -Unput_utmp - - - -blitter.com/go/hkexsh/hkexshd.main$2$1->blitter.com/go/goutmp.Unput_utmp - - + + - + blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs->(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff - - + + - + blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs->(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff - - - - + + + + - -blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs->(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff - - - - - - -blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs->(*blitter.com/go/hkexsh/hkexnet.Conn).EnableChaff - - - - - -blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs->(*blitter.com/go/hkexsh/hkexnet.Conn).DisableChaff - - - - - - - -blitter.com/go/hkexsh/hkexshd.runServerToClientCopyAs->(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff - - - - +blitter.com/go/hkexsh/hkexshd.runClientToServerCopyAs->(*blitter.com/go/hkexsh/hkexnet.Conn).ShutdownChaff + + + +