package
0.5.2
Repository: https://github.com/confused-techie/gopage.git
Documentation: pkg.go.dev

# Functions

AddLinkItem is a JSON Handler for adding Link Items as opposed to the original Form based method.
APIHostNameHandler exposes the HostName API Endpoint.
APIHostOSHandler exposes the HostOS Api Endpoint.
APIInstalledPluginsHandler exposes the installed plugins endpoint.
APIInstallPlugin an endpoint to install a specific plugin via URL Parameters, returning json of logs.
APIItemsHandler is an API Endpoint to return installed items.
APIPingHandler is the API Endpoint for the Ping function for plugins.
APIPingNoSSLHandler is the API Endpoint for the No SSL Ping function for plugins.
APIServerSettingsGet is an API Endpoint Utilizing ServSettingGet from the model package to return server settings as json.
APIUninstallPlugin an endpoint to uninstall a specific plugin via URL Parameters, return json of logs.
APIUpdatePlugin is an endpoint that updates the available plugins and returns json of the logs.
APIUserSettingGet is an API Endpoint utilizing the UserSettingGet of the model class to return the users settings as json.
ChangeLang is an API Endpoint to modify the server language whenever needed.
ChangeMany is an HTTP Handler, thhat expects a URL query of id to specify thhe setting being modifyied.
DeleteHandler is an old carry-over to delete Items, this page could still work.
DeleteLinkItem is an API Handler alternative to the post handler of deleting Link Items.
EditLinkItem is an API Handler for modifying Link Items with V2 models.
HomePageHandler returns Template: homePage.html w/ Model: HomeV2.
LinkHealthPageHandler returns basic page data w/ no template.
NotFoundHandler is the HTTP handler for a NotFound resource, directed to by the notFoundHandler middleware.
PluginRepoPageHandler returns Template: pluginRepo.html w/ Data: apiFunc.GetPluginData.
RobotsHandler is a simple static file server for a robots file, if this happens to exposed to the internet.
Search will be the API Endpoint for search functionality.
SettingsPageHandler returns Template: settings.html w/ Model: ServSettingGet.
SitemapHandler is a simple static file server for the sitemap at the root.
UploadHandler is paired to http.HandleFunc("/upload", ) to handle the digestion of image uploads to GoPage.
UploadPageHandler is a very simple HTTP Serving File for the Upload Page.
UserImagesHandler returns a list of file names as json from the user Images folder.
UserSettingSet is user to write new user settings to disk.