Documentation ¶
Index ¶
Constants ¶
View Source
const ( // APIRoute is the URL route for incoming and outgoing // requests. APIRoute = "/api/v1" // Repo is the URL for the hosted github Verbis // repository. Repo = "https://github.com/ainsleyclark/verbis" // AssetsChannel is the maximum amount of concurrent // requests for serving assets on the frontend. AssetsChannel = 10 // UploadChannel is the maximum amount of concurrent // requests for serving uploads on the frontend. UploadChannel = 10 // ServerChannel is the maximum amount of concurrent // requests for serving posts on the frontend. ServerChannel = 50 )
Variables ¶
View Source
var ( // ProductionString defines if the app (Verbis) is being developed // or is being packaged out for distribution. ProductionString = "false" // Production is the shortcut for determining if Verbis is in // dev/production. Production = false )
View Source
var App = struct { Title string Description string URL string Logo string Version string }{ Title: "Verbis", Description: "A Verbis website. Publish online, build a business, work from home", URL: "http://127.0.0.1:8080", Logo: "/verbis/images/verbis-logo.svg", }
App defines default values before the the user has defined any custom properties by updating the database.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.