Documentation ¶
Index ¶
- Constants
- func ReadFile(path string, start int64, chunk []byte, perm os.FileMode) (n int, err error)
- func RunBashScript(scriptPath string) (err error)
- func RunBashScriptEnv(scriptPath string, env ...string) (err error)
- func WriteFile(path string, mustNotExist bool, append bool, data []byte, perm os.FileMode) error
- type LogWriter
Constants ¶
View Source
const ( PATH_ROOT = "/usr/local/P4wnP1" PATH_KEYBOARD_LANGUAGE_MAPS = PATH_ROOT + "/keymaps" PATH_WEBROOT = PATH_ROOT + "/www" PATH_BASH_SCRIPTS = PATH_ROOT + "/scripts" PATH_HID_SCRIPTS = PATH_ROOT + "/HIDScripts" PATH_DATA_STORE = PATH_ROOT + "/store" PATH_DATA_STORE_BACKUP = PATH_ROOT + "/db" PATH_IMAGE_CDROM = PATH_ROOT + "/ums/cdrom" PATH_IMAGE_FLASHDRIVE = PATH_ROOT + "/ums/flashdrive" )
Variables ¶
This section is empty.
Functions ¶
func RunBashScript ¶
func RunBashScriptEnv ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.