Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { Put(ctx context.Context, snapshot Snapshot) error Get(ctx context.Context, module string, version vcs.Version) (Snapshot, error) Del(ctx context.Context, module string, version vcs.Version) error Close() error }
Store is an interface for a typical cache. It allows to put a snapshot and to get snapshot of the specific version.
Click to show internal directories.
Click to hide internal directories.