session

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 3 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 {
	TerminalInputChan    chan []byte
	TerminalOutputChan   chan []byte
	ChangeDimensionsChan chan *api.TerminalDimensions
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, requestedDimensions *api.TerminalDimensions) *Session

func (*Session) Close

func (session *Session) Close() error

func (*Session) Context

func (session *Session) Context() context.Context

func (*Session) RequestedDimensions

func (session *Session) RequestedDimensions() *api.TerminalDimensions

func (*Session) Token

func (session *Session) Token() string

Jump to

Keyboard shortcuts

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