Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LastModifiedTime ¶
LastModifiedTime returns the ModTime of the requested string, assuming a relative path provided
func LogInjectionAvoidance ¶
LogInjectionAvoidance will do basic sanitization of strings before being put into the log
func PathTraversalAvoidance ¶
PathTraversalAvoidance will do basic sanitization of strings before returning for accessing the filesystem
func StringInSlice ¶
StringInSlice is a simple method to implement JS Array.prototype.includes()
func WhichStringInSlice ¶
WhichStringInSlice is a simple methhod to implement JS Array.prototype.findIndex() which will also return -1 if not found
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.