handler

package
v2.3.13 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const SshTerminalReadyFormat = "Enter terminal %s"

Variables

View Source
var CondReady = make(map[string]context.Context)
View Source
var SessionMap = make(map[string]*ssh.Session)

Functions

This section is empty.

Types

type ReadWriteWrapper added in v2.2.14

type ReadWriteWrapper struct {
	sync.Once
	net.Conn
	// contains filtered or unexported fields
}

func NewReadWriteWrapper added in v2.2.14

func NewReadWriteWrapper(conn net.Conn) *ReadWriteWrapper

func (*ReadWriteWrapper) IsClosed added in v2.2.14

func (rw *ReadWriteWrapper) IsClosed() chan any

func (*ReadWriteWrapper) Read added in v2.2.14

func (rw *ReadWriteWrapper) Read(b []byte) (int, error)

func (*ReadWriteWrapper) Write added in v2.2.14

func (rw *ReadWriteWrapper) Write(p []byte) (int, error)

type Ssh added in v2.3.11

type Ssh struct {
	Config    pkgssh.SshConfig
	ExtraCIDR []string
	Width     int
	Height    int
	Platform  string
	SessionID string
	Lite      bool
}

Jump to

Keyboard shortcuts

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