mux

package
v3.0.0-alpha.3....-0a41b70 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 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