package
0.0.0-20190107122409-b8b82af6a15d
Repository: https://github.com/kfbi1706/txtdump.git
Documentation: pkg.go.dev

# Functions

CheckForDuplicateID Checks if ID is already used for a post in DB.
ClearOutDB is used to clear a table no input arguments returns error*/.
CountPosts runs SQL count on DB.
CreatePostDB registers the post in the DB.
DeletePost deletes post in DB.
GetProp gets the requested hash from the DB.
HexToBytes decodes the inputted hex string.
IncrementViewCounter increments the viewcounter in DB.
PostDatas returns some data used for index overview.
PostMetas returns some metadata used for index overview.
ReadPostDB gets postdata from DB.
SaveChanges registers edits in DB.
SetupDB is used to setup the database no input arguments returns error*/.
TestDBConnection Just pings the DB.