Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandleFunc ¶
type Product ¶
type Product[DATA any] interface { Producter() chan<- DATA Consumer() <-chan DATA Send(data DATA) SendBy(valid ValidFunc[DATA], data DATA) Receive() DATA ReceiveBy(handler HandleFunc[DATA]) }
func NewProduct ¶
Click to show internal directories.
Click to hide internal directories.