domain

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 4 Imported by: 0 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

This section is empty.

Types

type Connection

type Connection struct {
	// contains filtered or unexported fields
}

func NewConnection

func NewConnection(isTty bool, io *values.ConnectionIO) *Connection

func (*Connection) Close

func (c *Connection) Close() error

func (*Connection) IsTty

func (c *Connection) IsTty() bool

func (*Connection) Stderr

func (c *Connection) Stderr() io.Writer

func (*Connection) Stdin

func (c *Connection) Stdin() io.Reader

func (*Connection) Stdout

func (c *Connection) Stdout() io.Writer

func (*Connection) WindowReceiver

func (c *Connection) WindowReceiver() <-chan *values.Window

func (*Connection) WindowSender

func (c *Connection) WindowSender() chan<- *values.Window

type User

type User struct {
	values.HashedPassword
	// contains filtered or unexported fields
}

func NewUser

func NewUser(name values.UserName, hashedPassword values.HashedPassword) *User

func (*User) GetName

func (u *User) GetName() values.UserName

type Workspace

type Workspace struct {
	Status values.WorkspaceStatus
	// contains filtered or unexported fields
}

func NewWorkspace

func NewWorkspace(id values.WorkspaceID, name values.WorkspaceName, userName values.UserName) *Workspace

func (*Workspace) AddConnection

func (w *Workspace) AddConnection() error

func (*Workspace) ConnectionNum

func (w *Workspace) ConnectionNum() int32

func (*Workspace) ID

func (w *Workspace) ID() values.WorkspaceID

func (*Workspace) Name

func (w *Workspace) Name() values.WorkspaceName

func (*Workspace) RemoveConnection

func (w *Workspace) RemoveConnection() error

func (*Workspace) UserName

func (w *Workspace) UserName() values.UserName

type WorkspaceConnection

type WorkspaceConnection struct {
	// contains filtered or unexported fields
}

func (*WorkspaceConnection) ID

func (*WorkspaceConnection) ReadCloser

func (wc *WorkspaceConnection) ReadCloser() io.ReadCloser

func (*WorkspaceConnection) WriteCloser

func (wc *WorkspaceConnection) WriteCloser() io.WriteCloser

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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