package
2.9.1
Repository: https://github.com/micro/go-micro.git
Documentation: pkg.go.dev

# Packages

Package cache implements a faulting style read cache on top of multiple micro stores.
Package cockroach implements the cockroach store.
Package local is a file system backed store.
Package memory is a in-memory store store.
Package service implements the store service interface.

# Functions

Database allows multiple isolated stores to be kept in one backend, if supported.
DeleteFrom the database and table.
ListFrom the database and table.
ListLimit limits the number of returned keys to l.
ListOffset starts returning responses from o.
ListPrefix returns all keys that are prefixed with key.
ListSuffix returns all keys that end with key.
Nodes contains the addresses or other connection information of the backing storage.
ReadFrom the database and table.
ReadLimit limits the number of responses to l.
ReadOffset starts returning responses from o.
ReadPrefix returns all records that are prefixed with key.
ReadSuffix returns all records that have the suffix key.
Table is analagous to a table in database backends or a key prefix in KV backends.
WithClient sets the stores client to use for RPC.
WithContext sets the stores context, for any extra configuration.
WriteExpiry is the time the record expires.
WriteTo the database and table.
WriteTTL is the time the record expires.

# Variables

DefaultStore is the memory store.
ErrNotFound is returned when a key doesn't exist.

# Structs

DeleteOptions configures an individual Delete operation.
ListOptions configures an individual List operation.
Options contains configuration for the Store.
ReadOptions configures an individual Read operation.
Record is an item stored or retrieved from a Store.
WriteOptions configures an individual Write operation If Expiry and TTL are set TTL takes precedence.

# Interfaces

Store is a data storage interface.

# Type aliases

DeleteOption sets values in DeleteOptions.
ListOption sets values in ListOptions.
Option sets values in Options.
ReadOption sets values in ReadOptions.
WriteOption sets values in WriteOptions.