Documentation ¶
Index ¶
- func Exit() error
- func Mount(mountPoint string, ioMap *qos.IOMap) error
- type RDir
- type RFS
- type RedisPipe
- func (rp *RedisPipe) Attr(ctx context.Context, a *fuse.Attr) error
- func (rp *RedisPipe) Open(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenResponse) (fs.Handle, error)
- func (rp *RedisPipe) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) error
- func (rp *RedisPipe) Write(ctx context.Context, req *fuse.WriteRequest, resp *fuse.WriteResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RedisPipe ¶
type RedisPipe struct { FileName string DB string Topic string Opts *redis.Options Client *redis.Client PubSub *redis.PubSub }
RedisPipe ... redis pipe like file
func (*RedisPipe) Open ¶
func (rp *RedisPipe) Open(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenResponse) (fs.Handle, error)
Open ... manage cache ect
func (*RedisPipe) Read ¶
func (rp *RedisPipe) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) error
Read ... read stream This provides 3 reading reading strategies for the cluster. reader - This is just writing raw messages out messages - provides binary provides a single bit errors - stream of error messages
func (*RedisPipe) Write ¶
func (rp *RedisPipe) Write(ctx context.Context, req *fuse.WriteRequest, resp *fuse.WriteResponse) error
Write ... Write a message to the PubSub
Click to show internal directories.
Click to hide internal directories.