Retracted : Phantom path (tilde). The natural retraction tag v4~/v1.18.2
is an invalid git ref name, so this retraction is published as the root tag
v1.18.2 instead — which is how this path is already keyed (its versions are
the repo's v1.x root tags).
The highest tagged major version is
v3 .
Discover Packages
github.com/micro/go-micro
debug
buffer
package
Version:
v1.17.1
Opens a new window with list of versions in this module.
Published: Nov 27, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package buffer provides a simple ring buffer for storing local data
New returns a new buffer of the given size
Get returns the last n entries
func (b *Buffer ) Put(v interface{})
Return the entries since a specific time
type Entry struct {
Value interface{}
Timestamp time .Time
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.