Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBindTwice = fmt.Errorf("bind twice")
View Source
var ErrNotTCPAddr = fmt.Errorf("not tcp addr")
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
channel.DefaultNetChannel
}
type ServerChannel ¶
type ServerChannel struct { channel.DefaultNetServerChannel // contains filtered or unexported fields }
func (*ServerChannel) IsActive ¶
func (c *ServerChannel) IsActive() bool
func (*ServerChannel) UnsafeAccept ¶
func (c *ServerChannel) UnsafeAccept() (channel.Channel, channel.Future)
func (*ServerChannel) UnsafeBind ¶
func (c *ServerChannel) UnsafeBind(localAddr net.Addr) error
func (*ServerChannel) UnsafeClose ¶
func (c *ServerChannel) UnsafeClose() error
Click to show internal directories.
Click to hide internal directories.