listener

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File interface {
	Read(b []byte) (n int, err error)
	Write(p []byte) (n int, err error)
	Seek(offset int64, whence int) (int64, error)
	Stream() (chan []byte, error)
}

type Listen9p

type Listen9p *NineP

Listen9p returns a server that listens over 9p for incoming clients

type Listen9p2000

type Listen9p2000 *NineP

Listen9p returns a server that listens over 9p.2000 for incoming clients

type Listener

type Listener interface {
	//Auth(*auth.Protocol) error
	Connect() error
	Control() error
	Listen() error
	List() ([]*File, error)
}

type NewSsh

type NewSsh int

type NineP

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

func (*NineP) Connect

func (np *NineP) Connect() error

func (*NineP) Control

func (np *NineP) Control() error

func (*NineP) List

func (np *NineP) List() ([]*File, error)

func (*NineP) Listen

func (np *NineP) Listen() error

Jump to

Keyboard shortcuts

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