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

# 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.
NewMemoryStore returns a memory store.
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.
WithClient sets the stores client to use for RPC.
WithContext sets the stores context, for any extra configuration.
WithLogger sets the underline logger.
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.