mux

package
v0.0.0-...-799489d Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

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

func ClientSession

func ClientSession(conn net.Conn) (*Session, error)

func ServerSession

func ServerSession(conn net.Conn) (*Session, error)

func (*Session) Accept

func (session *Session) Accept() (net.Conn, error)

func (*Session) Close

func (session *Session) Close() error

func (*Session) GetConn

func (session *Session) GetConn() (net.Conn, error)

func (*Session) IsClosed

func (session *Session) IsClosed() bool

func (*Session) NumStreams

func (session *Session) NumStreams() int

Jump to

Keyboard shortcuts

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