'首次提交'
This commit is contained in:
13
sshtunnel/config.go
Normal file
13
sshtunnel/config.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user