Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyMounted = errors.New("path is already mounted")
ErrAlreadyMounted is returned when checking if a path has already something mounted on it
Functions ¶
Types ¶
type Cleaner ¶ added in v0.4.0
type Cleaner interface { // Cleaner runs the clean process, Cleaner should be // blocking. Caller then can do `go Cleaner()` to run it in the background Cleaner(ctx context.Context, every time.Duration) }
Cleaner interface, implementer of this interface can start a cleaner job
Click to show internal directories.
Click to hide internal directories.