JCS-pub/client/internal/mount/mount.go

22 lines
367 B
Go

package mount
import (
"gitlink.org.cn/cloudream/common/pkgs/async"
"gitlink.org.cn/cloudream/jcs-pub/client/internal/mount/vfs/cache"
)
type MountEventChan = async.UnboundChannel[MountEvent]
type MountEvent interface {
IsMountEvent() bool
}
type ExitEvent struct {
MountEvent
Err error
}
type MountStatus struct {
Cache cache.CacheStatus `json:"cache"`
}