diff --git a/.gitignore b/.gitignore index f1c181e..10fa90c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ # Output of the go coverage tool, specifically when used with LiteIDE *.out +go-webssh.exe diff --git a/README.md b/README.md index 386c709..ca41d56 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,13 @@ func NewSshClient() (*ssh.Client, error) { } ``` -> go install -> go run main.go +```shell script + +go build main.go +go run main.go + +``` ## 前端 > 我测试的时候用得是 vue,你可以放进你们项目里面。在web/vue/index.vue里面,记得修改32行的 后端地址 diff --git a/web/html/index.html b/web/html/index.html index 7a39edc..379b6b7 100644 --- a/web/html/index.html +++ b/web/html/index.html @@ -2,7 +2,7 @@ - webssh 例子 + go webssh 例子 @@ -14,9 +14,7 @@ .terminal { border: #000 solid 5px; font-family: cursive; - {# font-family: Arial, Helvetica, Tahoma ,"Monaco", "DejaVu Sans Mono", "Liberation Mono", sans-serif;#}{# font-family: Tahoma, Helvetica, Arial, sans-serif;#}{# font-family: "\5B8B\4F53","","Monaco", "DejaVu Sans Mono", "Liberation Mono", "Microsoft YaHei", monospace;#} font-size: 15px; - {# color: #f0f0f0;#} background: #000; - {# width: 893px;#}{# height: 550px;#} box-shadow: rgba(0, 0, 0, 0.8) 2px 2px 20px; + font-size: 15px; } .reverse-video {