stub out pastebin
This commit is contained in:
parent
b6b58fe2b3
commit
a5bef3cd30
8 changed files with 366 additions and 12 deletions
10
config.go
10
config.go
|
|
@ -24,3 +24,13 @@ func (c *Config) GetPrivateKey() (ssh.Signer, error) {
|
|||
}
|
||||
return ssh.ParsePrivateKey(bytes)
|
||||
}
|
||||
|
||||
func (c *Config) CloseApps() error {
|
||||
for _, v := range c.SSHApps {
|
||||
err := v.Close()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue