Documentation ¶
Index ¶
Constants ¶
View Source
const (
DataFilePerm = 0644
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileIO ¶
type FileIO struct {
// contains filtered or unexported fields
}
FileIO Standard file IO
func NewFileIOManager ¶
type IOManager ¶
type IOManager interface { // Read By specifying the location data in a read the file Read([]byte, int64) (int, error) // Write Writing bytes of data to a file Write([]byte) (int, error) // Sync Make data persistent Sync() error //Close Close the driver Close() error Size() (int64, error) }
func NewIOManager ¶
NewIOManager Init IOManager instance attention! the IOManager is only support FileIO
Click to show internal directories.
Click to hide internal directories.