Documentation ¶
Index ¶
- Constants
- func New(namespace string) (io_driver.IODriver, error)
- type IODriver
- func (d *IODriver) Append(record string, payload []byte) error
- func (d *IODriver) Compact(record string) error
- func (d *IODriver) Create(record string, payload []byte) error
- func (d *IODriver) Delete(record string) error
- func (d *IODriver) Merge(record string, payload []byte) error
- func (d *IODriver) Read(record string) ([]byte, error)
Constants ¶
View Source
const ( DriverOpts = unix.O_DIRECT | unix.O_SYNC CreateOpts = DriverOpts | unix.O_WRONLY | unix.O_CREAT | unix.O_EXCL ReadOpts = DriverOpts | unix.O_RDONLY AppendOpts = DriverOpts | unix.O_WRONLY | unix.O_APPEND )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.