Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVStoreService ¶
type KVStoreService struct {
*cachekvstore.CacheKvStore
}
KVStoreService allows to cache GCOM angular patterns into the database, as a cache.
func (*KVStoreService) Get ¶
Get returns the stored angular patterns from the underlying cachekvstore.
type Service ¶
type Service interface { GetLastUpdated(ctx context.Context) (time.Time, error) Get(ctx context.Context) (string, bool, error) Set(ctx context.Context, value any) error SetLastUpdated(ctx context.Context) error GetETag(ctx context.Context) (string, bool, error) SetETag(ctx context.Context, etag string) error }
func ProvideService ¶
Click to show internal directories.
Click to hide internal directories.