stub out pastebin

This commit is contained in:
Barak Michener 2020-09-24 21:55:26 -07:00
parent b6b58fe2b3
commit a5bef3cd30
8 changed files with 366 additions and 12 deletions

View file

@ -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
}