Documentation
¶
Index ¶
- func BufferToBytes(buf Buffer) []byte
- func MountDevice(device Device, major uint, minor uint, name string, fuseArgs []string) error
- func OffsetToInt64(off Offset) int64
- func ReplyBuf(req Request, buf []byte) error
- func ReplyError(req Request, err int) error
- func ReplyOpen(req Request, fi FileInfo) error
- func ReplyPoll(req Request, revents int) error
- func ReplyWrite(req Request, n int) error
- func SizeToUint64(size Size) uint64
- type Buffer
- type Conn
- type Device
- type FileInfo
- type Offset
- type PollHandle
- type Request
- type Size
- type Void
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufferToBytes ¶
func MountDevice ¶
func OffsetToInt64 ¶
func ReplyError ¶
func ReplyWrite ¶
func SizeToUint64 ¶
Types ¶
type Conn ¶
type Conn *C.fuse_conn_info
type Device ¶
type Device interface { Init(userdata Void, conn Conn) InitDone(userdata Void) Destroy(userdata Void) Open(req Request, fi FileInfo) Read(req Request, size Size, off Offset, fi FileInfo) Write(req Request, buf Buffer, size Size, off Offset, fi FileInfo) Flush(req Request, fi FileInfo) Release(req Request, fi FileInfo) Fsync(req Request, datasync int, fi FileInfo) Ioctl(req Request, cmd int, arg Void, fi FileInfo, flags uint, inputBuf Void, inputBufSize Size, outBufSize Size) Poll(req Request, fi FileInfo, ph PollHandle) }
type FileInfo ¶
type FileInfo *C.fuse_file_info
type PollHandle ¶
type PollHandle *C.fuse_pollhandle
type Request ¶
type Request *C.struct_fuse_req
Click to show internal directories.
Click to hide internal directories.