session

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	*bytes.Buffer
	// contains filtered or unexported fields
}

func New

func New(svr *lanes.Server) *Session

func (*Session) Close

func (this *Session) Close() (err error)

func (*Session) GetLastLine

func (this *Session) GetLastLine() string

func (*Session) GetName

func (this *Session) GetName() string

func (*Session) IsClosed

func (this *Session) IsClosed() bool

func (*Session) Profile

func (this *Session) Profile() *ssh.Profile

func (*Session) Run

func (this *Session) Run(ctx context.Context, profile *ssh.Profile, args ...string) error

func (*Session) Wait

func (this *Session) Wait() error

Jump to

Keyboard shortcuts

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