Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AcceptSession ¶
type AcceptSession struct {
Session
}
AcceptSession
func (*AcceptSession) Accept ¶
func (as *AcceptSession) Accept() *Conn
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) Close ¶
Close closes the connection. It is synchronized with Write and will not interrupt a concurring write.
func (*Conn) RemoteAddr ¶
type DialSession ¶
type DialSession struct {
Session
}
DialSession
func (*DialSession) Dial ¶
func (ds *DialSession) Dial() *Conn
type Dialer ¶
type Dialer struct {
// contains filtered or unexported fields
}
func (*Dialer) DialSession ¶
func (d *Dialer) DialSession(addr net.Addr, scrb func()) (*DialSession, error)
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func (*Listener) AcceptSession ¶
func (l *Listener) AcceptSession() *AcceptSession
type PayloadMsg ¶
type PayloadMsg struct { SeqNo SeqNo Payload interface{} // User-supplied type that can be coded by the underlying codec }
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session
func (*Session) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.