Documentation ¶
Index ¶
- func Open(cfg *Config) ([]common.DiskIF, error)
- type Config
- type Disk
- func (d *Disk) Delete(ctx context.Context, fd string) error
- func (d *Disk) Get(ctx context.Context, fd string) (io.ReadCloser, error)
- func (d *Disk) Init(ctx context.Context, label *proto.DiskLabel) error
- func (d *Disk) Put(ctx context.Context, fd string, data io.ReadCloser) error
- func (d *Disk) Stat(ctx context.Context) (*proto.Disk, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.