interactive

package
v49.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package interactive provides a way to run an interactive shell in a task.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interactive

type Interactive struct {
	TCPPort uint16
	GetURL  string
	// contains filtered or unexported fields
}

func New

func New(port uint16, cmd *exec.Cmd, ctx context.Context) (it *Interactive, err error)

func (*Interactive) Handler

func (it *Interactive) Handler(w http.ResponseWriter, r *http.Request)

func (*Interactive) ListenAndServe

func (it *Interactive) ListenAndServe(ctx context.Context) error

func (*Interactive) Terminate

func (it *Interactive) Terminate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL