feat: expand frame type to support stdout/stderr chan
This commit is contained in:
parent
7dfcbef774
commit
55eacb59e9
12 changed files with 580 additions and 285 deletions
|
|
@ -1,8 +1,6 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
_ "github.com/joho/godotenv/autoload"
|
||||
"github.com/tale/headplane/agent/internal/config"
|
||||
"github.com/tale/headplane/agent/internal/hpagent"
|
||||
|
|
@ -34,6 +32,6 @@ func main() {
|
|||
ID: agent.ID,
|
||||
})
|
||||
|
||||
sshutil.StartInputReader(os.NewFile(3, "sshin"))
|
||||
sshutil.DispatchSSHStdin()
|
||||
hpagent.FollowMaster(agent)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue