'首次提交'

This commit is contained in:
2023-04-12 16:39:10 +08:00
parent 0c3a01b1ec
commit cbc416b73b
6 changed files with 240 additions and 0 deletions

13
sshtunnel/config.go Normal file
View File

@@ -0,0 +1,13 @@
package sshtunnel
type Tunnel struct {
Remote string `json:"remote"`
Local string `json:"local"`
}
type Config struct {
Addr string `json:"addr"`
User string `json:"user"`
Pass string `json:"pass,omitempty"`
Tunnels []Tunnel `json:"tunnels,omitempty"`
}