Documentation
¶
Overview ¶
Package keystore is the durable keys.Store, on top of internal/state.
It lives outside pkg/keys because it adapts the service's own storage, not the key format: pkg/keys is a public reference implementation (decisions.md #26) and must not name internal types in its API.
Index ¶
- type Store
- func (s *Store) GetRK(ctx context.Context, spaceID string) (keys.WrappedDK, error)
- func (s *Store) GetSRW(ctx context.Context, spaceID string) (keys.WrappedDK, error)
- func (s *Store) PutRK(ctx context.Context, spaceID string, w keys.WrappedDK) error
- func (s *Store) PutSRW(ctx context.Context, spaceID string, w keys.WrappedDK) error
- func (s *Store) Spaces(ctx context.Context) ([]string, error)
- func (s *Store) Status(ctx context.Context, spaceID string) (keys.Status, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a keys.Store backed by durable state.
Click to show internal directories.
Click to hide internal directories.