constants

package
v0.0.0-...-d3d20e7 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: GPL-2.0, GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package constants ... This package exports various constant values used by the app.

Index

Constants

View Source
const (
	// SolrPort ... The port on which solr runs.
	SolrPort = 8983

	// ApplicationPort ... The port on which application will run.
	ApplicationPort = ":8080"

	// ApplicationHost ... Application Host
	ApplicationHost = "127.0.0.1"

	// DocsCore ... Docs Core name in solr
	DocsCore = "docs"

	// UserCore ... Users Core name in solr
	UserCore = "user"

	// SolrHost .... Solr Host
	SolrHost = "127.0.0.1"

	//MinDocNumLen ... Min document number length
	MinDocNumLen = 3

	InitFlow = 0

	QaFlow = 1

	CreateFlow = 2

	ReviewFlow = 3

	ApproveFlow = 4

	AuthFlow = 5

	ActiveFlow = 6

	OneByOne = "OneByOne"

	Everyone = "Everyone"

	Anyone = "Anyone"
)

Variables

CookieHandler ... Random key generator for securecookie

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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