Versions in this module Expand all Collapse all v0 v0.1.1 May 16, 2024 v0.1.0 May 9, 2024 Changes in this version + var LockExpiration = 1 * time.Minute + var LockPollInterval = 1 * time.Second + type Config struct + AEAD tink.AEAD + BucketName string + ClientOptions []option.ClientOption + type Storage struct + func NewStorage(ctx context.Context, config Config) (*Storage, error) + func (s *Storage) Delete(ctx context.Context, key string) error + func (s *Storage) Exists(ctx context.Context, key string) bool + func (s *Storage) List(ctx context.Context, prefix string, recursive bool) ([]string, error) + func (s *Storage) Load(ctx context.Context, key string) ([]byte, error) + func (s *Storage) Lock(ctx context.Context, key string) error + func (s *Storage) Stat(ctx context.Context, key string) (certmagic.KeyInfo, error) + func (s *Storage) Store(ctx context.Context, key string, value []byte) error + func (s *Storage) Unlock(ctx context.Context, key string) error