api

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	APIRoute      = "/api/v1"
	AssetsChannel = 10
	UploadChannel = 10
	ServerChannel = 50
	Repo          = "https://github.com/ainsleyclark/verbis"
)

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",
	Version:     "0.0.1",
}

App defines default values before the the user has defined any custom properties by updating the database.

View Source
var AssetsChan = make(chan int, AssetsChannel)
View Source
var ServeChan = make(chan int, ServerChannel)
View Source
var UploadChan = make(chan int, UploadChannel)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
helpers
http
mocks
tpl
services
tpl
nav

Jump to

Keyboard shortcuts

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