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) Parent ¶
func (c *Channel) Parent() transports.MuxingConn
type MuxingConn ¶
type MuxingConn struct {
// contains filtered or unexported fields
}
func (*MuxingConn) Close ¶
func (mc *MuxingConn) Close() error
func (*MuxingConn) LocalAddr ¶
func (mc *MuxingConn) LocalAddr() string
func (*MuxingConn) Open ¶
func (mc *MuxingConn) Open(chanID uint32) transports.Channel
func (*MuxingConn) RemoteAddr ¶
func (mc *MuxingConn) RemoteAddr() string
func (*MuxingConn) RemoteID ¶
func (mc *MuxingConn) RemoteID() friends.ID
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
func NewTransport ¶
func (*Transport) Accept ¶
func (t *Transport) Accept() (transports.MuxingConn, error)
func (*Transport) Dial ¶
func (t *Transport) Dial(raddr string, publicKey crypto.PublicKey) (transports.MuxingConn, error)
Click to show internal directories.
Click to hide internal directories.