GO-2022-0780 : Improper Authentication in InfluxDB in github.com/influxdata/influxdb
The highest tagged major version is
v2 .
Discover Packages
github.com/influxdata/influxdb
pkg
pool
package
Version:
v1.1.3
Opens a new window with list of versions in this module.
Published: Feb 17, 2017
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 7
Opens a new window with list of known importers.
Documentation
Documentation
¶
Bytes is a pool of byte slices that can be re-used. Slices in
this pool will not be garbage collected when not in use.
NewBytes returns a Bytes pool with capacity for max byte slices
to be pool.
Get returns a byte slice size with at least sz capacity. Items
returned may not be in the zero state and should be reset by the
caller.
Put returns a slice back to the pool. If the pool is full, the byte
slice is discarded.
Generic is a pool of types that can be re-used. Items in
this pool will not be garbage collected when not in use.
NewGeneric returns a Generic pool with capacity for max items
to be pool.
Get returns a item from the pool or a new instance if the pool
is empty. Items returned may not be in the zero state and should
be reset by the caller.
func (p *Generic ) Put(c interface{})
Put returns an item back to the pool. If the pool is full, the item
is discarded.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.