Documentation ¶
Index ¶
- type MemBlobStore
- func (m *MemBlobStore) Debug(b bool)
- func (m *MemBlobStore) Delete(ctx context.Context, set, key string) error
- func (m *MemBlobStore) Dir(set string) []string
- func (m *MemBlobStore) Get(ctx context.Context, set, key string) ([]byte, error)
- func (m *MemBlobStore) Set(ctx context.Context, set, key string, val []byte) error
- func (m *MemBlobStore) Usage(set string) (blobs, size int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemBlobStore ¶
type MemBlobStore struct {
// contains filtered or unexported fields
}
func (*MemBlobStore) Debug ¶
func (m *MemBlobStore) Debug(b bool)
Debug enables printing of all operations
func (*MemBlobStore) Delete ¶
func (m *MemBlobStore) Delete(ctx context.Context, set, key string) error
func (*MemBlobStore) Dir ¶
func (m *MemBlobStore) Dir(set string) []string
func (*MemBlobStore) Usage ¶
func (m *MemBlobStore) Usage(set string) (blobs, size int)
Click to show internal directories.
Click to hide internal directories.