We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wish using telnet ip port to log in to the command line, but it's stuck here
The text was updated successfully, but these errors were encountered:
Can you share some code? Not sure what the problem is
Sorry, something went wrong.
server code :
handleFunc := func(rl *readline.Instance) { var app = grumble.New(&grumble.Config{ Name: "test", Description: "An awesome testbar", Prompt: "test>> ", PromptColor: color.New(color.FgGreen, color.Bold), MultiPrompt: "test >> ", MultiPromptColor: color.New(color.FgGreen, color.Bold), HelpHeadlineColor: color.New(color.FgGreen), HelpHeadlineUnderline: true, HelpSubCommands: true, InterruptHandler: func(a *grumble.App, count int) { }, }) if err := app.RunWithReadline(rl); err != nil { log.Logger.Error("RunWithReadline, err: ", err) } } cfg := &readline.Config{} readline.ListenRemote("tcp", ":37300", cfg, handleFunc)
It works by using readline, but i can't use telnet to connect
if err := readline.DialRemote("tcp", pod.Status.PodIP+":37300"); err != nil { fmt.Errorf("An error occurred: %s \n", err.Error()) }
No branches or pull requests
I wish using telnet ip port to log in to the command line, but it's stuck here
The text was updated successfully, but these errors were encountered: