Documentation ¶
Overview ¶
Package channel 提供一些方便的 chan 操作封装
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadNonBlocked ¶
ReadNonBlocked 非阻塞地从一个 chan 中读出数据。当读取失败时返回
func WriteNonBlocked ¶
WriteNonBlocked 非阻塞地向一个 chan 中写入数据, 当写入失败时返回
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.