package
Version:
v1.9.4-rc.6
Opens a new window with list of versions in this module.
Published: Dec 16, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Config exposes parameters for Window
type Window[T any] interface {
Add(value T)
Oldest() (T, bool)
Length() int
}
Window is an interface which represents a sliding window of elements.
New returns an instance of window
Source Files
¶
Click to show internal directories.
Click to hide internal directories.