Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_CONCURRENCY_LIMIT = 4 DEFAULT_RESULT_CHANNEL_SIZE = 10000 DEFAULT_VERSION = "UNVERSIONED" )
--------------------------------- Constants -----------------------------------------
Variables ¶
View Source
var DEFAULT_LOGGING_DIRECTORY = os.Getenv("HOME") + "/.plankton_logs/"
View Source
var DEFAULT_SQLITE_DATABASE = DatabaseConfig{
Type: "sqlite3",
Host: "/tmp/plankton.db",
}
View Source
var TEST_SQLITE_DATABASE = DatabaseConfig{
Type: "sqlite3",
Host: "/tmp/plankton_test.db",
}
Functions ¶
func ReadAndSetConfig ¶
func ReadAndSetConfig()
func ReadOrCreateLoggingDirectory ¶
func ReadOrCreateLoggingDirectory()
func SetDatabaseConfig ¶
func SetDatabaseConfig(db_config DatabaseConfig)
Types ¶
type Config ¶
type DatabaseConfig ¶
Click to show internal directories.
Click to hide internal directories.