//
pkg.gl
Category
google.golang.org/api
support
bundler
package
0.224.0
Repository:
https://github.com/googleapis/google-api-go-client.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
6
Dependents
60
Files
308 SLOC
#
Functions
NewBundler
NewBundler creates a new Bundler.
#
Constants
DefaultBufferedByteLimit
1G.
DefaultBundleByteThreshold
1M.
DefaultBundleCountThreshold
DefaultDelayThreshold
#
Variables
ErrOverflow
ErrOverflow indicates that Bundler's stored bytes exceeds its BufferedByteLimit.
ErrOversizedItem
ErrOversizedItem indicates that an item's size exceeds the maximum bundle size.
#
Structs
Bundler
A Bundler collects items added to it into a bundle until the bundle exceeds a given size, then calls a user-provided function to handle the bundle.