package
0.0.0-20240421041849-4a8b94e5f9ec
Repository: https://github.com/hewiefreeman/gophergamedb.git
Documentation: pkg.go.dev

# Functions

DeleteDir deletes a directory from the system.
GetNumopenFiles gets the number of OpenFiles in system.
GetOpenFile.
Init initializes the storage package.
Insert appends a JSON encoded []byte at the end of given JSON file and reports back the line number that was written to.
MakeDir creates a directory path on the system.
Read opens a file by name, then returns the data from said line.
SetFileOpenTime preference allows you to keep OpenFiles open for a given duration.
SetMaxOpenFiles preference sets the maximum number of OpenFile to be open.
ShutDown closes all OpenFiles and shuts the storage engine down.
Update updates JSON encoded []byte line at given index of given file.

# Structs

OpenFile represents a file on a disk that is open and ready for I/O.