package
Version:
v0.0.0-...-2b644c5
Opens a new window with list of versions in this module.
Published: Apr 1, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Put(c chan interface{}, v interface{}) bool
func TryClear(c <-chan interface{})
func TryMove(in <-chan interface{}, out chan<- interface{}) (bool, interface{})
func TryPut(c chan<- interface{}, v interface{}) bool
type Config struct {
CacheC chan interface{}
OutC chan<- interface{}
TickC chan interface{}
StopC chan interface{}
Callback func(interface{})
}
func New(duration time.Duration, ch chan<- interface{}, callback func(interface{})) *Config
Source Files
¶
Click to show internal directories.
Click to hide internal directories.