wharf

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

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

func (*Channel) Close

func (ch *Channel) Close() error

func (*Channel) Receive

func (ch *Channel) Receive() (interface{}, error)

func (*Channel) Send

func (ch *Channel) Send(graal interface{}) error

type Conn

type Conn struct {
	Conn ssh.Conn

	Chans <-chan ssh.NewChannel
	Reqs  <-chan *ssh.Request

	Permissions *ssh.Permissions
	// contains filtered or unexported fields
}

func Accept

func Accept(listener net.Listener, config *ssh.ServerConfig) (*Conn, error)

func Connect

func Connect(address string, identityPath string) (*Conn, error)

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) OpenCompressedChannel

func (c *Conn) OpenCompressedChannel(chType string, payload interface{}) (*Channel, error)

func (*Conn) RemoteAddr

func (c *Conn) RemoteAddr() net.Addr

func (*Conn) SendRequest

func (c *Conn) SendRequest(name string, wantReply bool, payload interface{}) (bool, interface{}, error)

func (*Conn) SessionID

func (c *Conn) SessionID() string

Jump to

Keyboard shortcuts

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