The highest tagged major version is
v2 .
Discover Packages
github.com/tarantool/go-storage
operation
package
Version:
v1.6.1
Opens a new window with list of versions in this module.
Published: Jun 22, 2026
License: BSD-2-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 2 modules, 1 package
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package operation provides types and interfaces for storage operations.
It defines operation types and configurations used in transactional contexts.
type Operation struct {
}
Operation represents a storage operation to be executed.
This is used within transactions and other operation contexts.
Delete creates a new delete operation for the specified key.
Returns an Operation configured for removing data from storage.
Get creates a new read operation for the specified key.
Returns an Operation configured for reading data from storage.
Put creates a new write operation for the specified key-value pair.
Returns an Operation configured for writing data to storage.
IsPrefix returns true if the operation is a prefix operation.
Key returns the key associated with the operation.
Options returns the configuration options for the operation.
Type returns the operation type (Get, Put, or Delete).
Value returns the value associated with the operation.
Option contains configuration options for operations.
Type represents the type of storage operation.
const (
TypeGet Type = iota
TypePut
TypeDelete
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.