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 ¶
View Source
var CookieHandler = securecookie.New(securecookie.GenerateRandomKey(64), securecookie.GenerateRandomKey(32))
CookieHandler ... Random key generator for securecookie
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.