【文件属性】:
文件名称:slack-to-ssh:从Slack交互式消息按钮运行SSH命令
文件大小:15KB
文件格式:ZIP
更新时间:2021-04-12 01:45:49
Go
松弛到SSH
从Slack交互式消息按钮运行SSH命令。
要求
去
松弛应用
安装
$ go build
# SSH Hostname (required)
export SSH_HOSTNAME=
# SSH Port (optional; defaults to 22)
export SSH_PORT=
# SSH Username (required)
export SSH_USERNAME=
# SSH Private Key (required)
export SSH_PRIVATE_KEY=
# Slack App Secret (required)
export SLACK_APP_SECRET=
# nth Action Name (required)
export SLACK_ACTION_0_NAME=
# nth Attachment Text (optional
【文件预览】:
slack-to-ssh-master
----.gitignore(424B)
----go.mod(559B)
----Dockerfile(312B)
----LICENSE(1KB)
----infrastructure()
--------client()
--------config()
----go.sum(7KB)
----.github()
--------workflows()
----main.go(1KB)
----README.md(2KB)
----service()
--------action.go(514B)
--------model.go(298B)
--------interaction.go(1KB)
----application()
--------server()