Documentation ¶ Index ¶ type Session func ClientSession(conn net.Conn) (*Session, error) func ServerSession(conn net.Conn) (*Session, error) func (session *Session) Accept() (net.Conn, error) func (session *Session) Close() error func (session *Session) GetConn() (net.Conn, error) func (session *Session) IsClosed() bool func (session *Session) NumStreams() int 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 Source Files ¶ View all Source files mux.go Click to show internal directories. Click to hide internal directories.