package
0.0.0-20241208201801-dbc831e972f9
Repository: https://github.com/edgebox-iot/edgeboxctl.git
Documentation: pkg.go.dev

# Functions

DeleteEmptySlices : Given a string array, delete empty entries.
DeleteOption : Deletes a key value pair option from the api shared database.
Exec : Runs a terminal Command, catches and logs errors, returns the result.
Exec : Runs a terminal Command, returns the result as a *bufio.Scanner type, split in lines and ready to parse.
ExecAndStream : Runs a terminal command, but streams progress instead of outputting.
GetPath : Returns either the hardcoded path, or a overwritten value via .env file at project root.
GetSQLiteDbConnectionDetails : Returns the necessary string as connection info for SQL.db().
GetSQLiteFormattedDateTime: Given a Time, Returns a string that is formatted ready to be inserted into an SQLite Datetime field using sql.Prepare.
ReadOption : Reads a key value pair option from the api shared database.
WriteOption : Writes a key value pair option into the api shared database.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author