api

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Directories

Path Synopsis
helpers
http
mocks
sys
tpl
services
tpl
nav

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL