Documentation ¶
Index ¶
Constants ¶
View Source
const ( VotingNotYetStarted = iota AcceptingVotes VotingStopped ResultsAvailable )
Possible Election States
View Source
const ( KeysNotGenerated = iota KeysGenerated KeysDeclared )
Possible states for a candidate
Variables ¶
View Source
var ( ElectionState int ElectionName string MailSenderAuthID string MailSenderEmailID string MailSenderPassword string MailSignature string MailSMTPHost string MailSMTPPort string MailSuffix string MongoDialURL string MongoDbName string MongoUsername string MongoPassword string AssetsPath string BallotIDsPath string ElectionDataFilePath string ApplicationPort string SessionsKey string MaxTimeDelay int RollNumberOfCEO string PublicKeyOfCEO string PrivateKeyOfCEO string ResultProgress float64 )
Global variables used by the program
Functions ¶
func InitializeConfiguration ¶
func InitializeConfiguration()
Method to read the values of the global variables from environment variables.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.