f2fssh

package
v0.0.0-...-d3354c4 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: LGPL-2.1 Imports: 13 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 (c *Channel) Close() error

func (*Channel) Parent

func (c *Channel) Parent() transports.MuxingConn

func (*Channel) Read

func (c *Channel) Read(p []byte) (n int, err error)

func (*Channel) Write

func (c *Channel) Write(p []byte) (n int, err error)

type Conn

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

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) LocalAddr

func (c *Conn) LocalAddr() string

func (*Conn) LocalID

func (c *Conn) LocalID() friends.ID

func (*Conn) Open

func (c *Conn) Open(channelID uint32) transports.Channel

func (*Conn) RemoteAddr

func (c *Conn) RemoteAddr() string

func (*Conn) RemoteID

func (c *Conn) RemoteID() friends.ID

type Transport

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

func NewTransport

func NewTransport(laddr string, privateKey crypto.Signer, af friends.AuthFunc) (*Transport, error)

func (*Transport) Accept

func (t *Transport) Accept() (c transports.MuxingConn, err error)

func (*Transport) Close

func (t *Transport) Close() error

func (*Transport) Dial

func (t *Transport) Dial(raddr string, publicKey crypto.PublicKey) (c transports.MuxingConn, err error)

func (*Transport) LocalAddr

func (t *Transport) LocalAddr() string

Jump to

Keyboard shortcuts

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