terminal

package
v11.11.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProxyTerminal

func ProxyTerminal(timeoutCh, disconnectCh, proxyStopCh chan error, proxyFunc func())

Types

type Conn

type Conn interface {
	Start(w http.ResponseWriter, r *http.Request, timeoutCh, disconnectCh chan error)
	Close() error
}

type InteractiveTerminal

type InteractiveTerminal interface {
	Connect() (Conn, error)
}

type MockConn

type MockConn struct {
	mock.Mock
}

MockConn is an autogenerated mock type for the Conn type

func (*MockConn) Close

func (_m *MockConn) Close() error

Close provides a mock function with given fields:

func (*MockConn) Start

func (_m *MockConn) Start(w http.ResponseWriter, r *http.Request, timeoutCh chan error, disconnectCh chan error)

Start provides a mock function with given fields: w, r, timeoutCh, disconnectCh

type MockInteractiveTerminal

type MockInteractiveTerminal struct {
	mock.Mock
}

MockInteractiveTerminal is an autogenerated mock type for the InteractiveTerminal type

func (*MockInteractiveTerminal) Connect

func (_m *MockInteractiveTerminal) Connect() (Conn, error)

Connect provides a mock function with given fields:

Jump to

Keyboard shortcuts

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