Documentation ¶
Overview ¶
Package conf parses start up args and config file
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Admin ADMIN_EMAIL = "" ADMIN_USERS = "" AdminUsers []string // Permissions for anonymous user ANON_READ = true ANON_WRITE = false ANON_DELETE = false // Address API_IP = "" API_PORT = "" API_URL = "" // for external address only // Auth AUTH_BASIC = false AUTH_GLOBUS_TOKEN_URL = "" AUTH_GLOBUS_PROFILE_URL = "" AUTH_MGRAST_OAUTH_URL = "" // Default Chunksize for size virtual index CHUNK_SIZE int64 = 1048576 // Config File CONFIG_FILE = "" // Runtime EXPIRE_WAIT = 60 // wait time for reaper in minutes GOMAXPROCS = "" // Logs LOG_PERF = false // Indicates whether performance logs should be stored LOG_ROTATE = true // Indicates whether logs should be rotated daily // Mongo information MONGODB_HOSTS = "" MONGODB_DATABASE = "" MONGODB_USER = "" MONGODB_PASSWORD = "" MONGODB_ATTRIBUTE_INDEXES = "" // Node Indices NODE_IDXS map[string]idxOpts = nil // Paths PATH_SITE = "" PATH_DATA = "" PATH_LOGS = "" PATH_LOCAL = "" PATH_PIDFILE = "" // Reload RELOAD = "" // SSL SSL = false SSL_KEY = "" SSL_CERT = "" // Versions VERSIONS = make(map[string]int) )
Functions ¶
func Initialize ¶
func Initialize()
Initialize is an explicit init. Enables outside use of shock-server packages. Parses config and populates the conf variables.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.