Documentation
¶
Index ¶
- type Channel
- type Pool
- func (p *Pool) Delete(c Channel) error
- func (p *Pool) Exist(id uint32) bool
- func (p *Pool) Get(id uint32) Channel
- func (p *Pool) IterBuffered() <-chan poolTuple
- func (p *Pool) New(tid uint32, outbound chan []byte, conn net.Conn) Channel
- func (p *Pool) NewByID(cid uint32, tid uint32, outbound chan []byte, conn net.Conn) Channel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) IterBuffered ¶
func (p *Pool) IterBuffered() <-chan poolTuple
Returns a buffered iterator which could be used in a for range loop.
Click to show internal directories.
Click to hide internal directories.