package
0.0.0-20200619041029-716bffcc2464
Repository: https://github.com/gcp-kit/datastore-cache-go.git
Documentation: pkg.go.dev

# Packages

Package mock is a generated GoMock package.
No description provided by the author

# Functions

NewMiddleware - Initialize Middleware that caches Datastore operations.

# Constants

CachingModeNever - never use cache (キャッシュを一切使わない).
CachingModeReadOnly - only read cache └── キャッシュの読み取りのみを行う Even if there is uncached data, new cache is not written.
CachingModeReadWrite - read and write the cache └── キャッシュの読み取りと書き込みを行う Default behavior └── デフォルトの動作.
CachingModeWriteOnly - only write to cache └── キャッシュの書き込みのみを行う Cache is written even if Cache Delete Timing None is used in Cache Delete Timing.
DeleteTimingAfterCommit - Delete the cache after issuing Commit.
DeleteTimingBeforeAndAfterCommit - Execute deletion before issuing Commit and twice after issuing Commit.
DeleteTimingBeforeCommit - Execute cache deletion before issuing Commit.
DeleteTimingNone - Do not delete the cache.
UnaryClientMethodCommit - Called by queries such as Put, PutMulti, Delete, DeleteMulti, Mutate, etc.
UnaryClientMethodLookup - Called by inquiries such as Get and GetMulti └── Get, GetMultiなどの問い合せにより呼ばれる.

# Structs

Middleware - Middleware that manages the cache.

# Interfaces

Cache - Mechanism for caching data.

# Type aliases

CachingModeFunc - function that controls cache └── Cacheの制御を行う関数.
CachingModeType - control cache └── Cacheの制御を行う.
DeleteTiming - Controls the cache deletion timing.
UnaryClientMethod - Datastore invocation method └── Datastoreの呼び出しメソッド.