Documentation
¶
Index ¶
- Variables
- func RecvWithContext[T any](channel <-chan T, ctx context.Context) (data T, err error)
- func RecvWithTimeout[T any](channel <-chan T, timeout time.Duration) (data T, err error)
- func SendWithContext[T any](channel chan<- T, data T, ctx context.Context) error
- func SendWithTimeout[T any](channel chan<- T, data T, timeout time.Duration) error
- type Secret
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrChannelClosed = errors.New("channel was closed")
Functions ¶
func RecvWithContext ¶
func RecvWithTimeout ¶
func SendWithContext ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.