Documentation ¶
Overview ¶
Package splitop provides a avoid Datastore's limitation.
https://cloud.google.com/datastore/docs/concepts/limits
DO ¶
* split GetMulti operation to under 1000 entity per one action.
- > Maximum number of keys allowed for a Lookup operation in the Cloud Datastore API : 1,000
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
Apply(*splitHandler)
}
A Option is an option for splitop.
func WithGetSplitThreshold ¶
WithGetSplitThreshold set get operation split threshold.
func WithLogger ¶
WithLogger creates a Option that uses the specified logger.
func WithPutSplitThreshold ¶
WithPutSplitThreshold set put operation split threshold.
func WithSplitThreshold ¶
WithSplitThreshold set operation split threshold. Deprecated: use WithGetSplitThreshold instead.
Click to show internal directories.
Click to hide internal directories.