Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDXVolume ¶
IDXVolume represents the index of where copies are stored of the files in other volumes, this also stores replicas stored on this volume
func (*IDXVolume) AddSignature ¶
AddSignature adds a new sig to the list of Signatures if the sig is already present it'll do nothing
type Repository ¶
type Repository interface { CreateOrReplace(ctx context.Context, ik *IDXVolume) error FindByVolumeID(ctx context.Context, volumeID string) (*IDXVolume, error) DeleteByKey(ctx context.Context, volumeID string) error DeleteAll(ctx context.Context) error }
Repository is the interface that has to be fulfiled to interact with IDXVolume
Click to show internal directories.
Click to hide internal directories.