Documentation ¶
Index ¶
- func NewRedisConn(host string, port int, db int, auth string) (redis.Conn, error)
- func NewRedisFile(pool *redis.Pool, key string) nodefs.File
- type RedisFs
- func (fs *RedisFs) Create(name string, flags uint32, mode uint32, ctx *fuse.Context) (nodefs.File, fuse.Status)
- func (fs *RedisFs) CreateRedisConn() (redis.Conn, error)
- func (fs *RedisFs) GetAttr(name string, ctx *fuse.Context) (*fuse.Attr, fuse.Status)
- func (fs *RedisFs) Init()
- func (fs *RedisFs) Mkdir(name string, mode uint32, ctx *fuse.Context) fuse.Status
- func (fs *RedisFs) Open(name string, flags uint32, ctx *fuse.Context) (nodefs.File, fuse.Status)
- func (fs *RedisFs) OpenDir(name string, ctx *fuse.Context) ([]fuse.DirEntry, fuse.Status)
- func (fs *RedisFs) Rename(oldName string, newName string, ctx *fuse.Context) fuse.Status
- func (fs *RedisFs) Rmdir(name string, ctx *fuse.Context) fuse.Status
- func (fs *RedisFs) Unlink(name string, ctx *fuse.Context) fuse.Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRedisConn ¶
Types ¶
type RedisFs ¶
type RedisFs struct { pathfs.FileSystem Host string Port int Auth string Dirs map[string][]string Db int Sep string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.