Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CanStoreConnection = checkKeyring()
CanStoreConnection indicates whether a keyring backend is available to store MongoDB connection data.
Functions ¶
func GetConnectionURI ¶
GetConnectionURI gets the connectionURI specified by the passed key of the secret store of the current OS
func GetConnections ¶
GetConnections gets the stored connections of the secret store of the current OS
func InitCommandLineArgs ¶
func InitCommandLineArgs(connection *models.Connection)
InitCommandLineArgs initializes the command line arguments. Currently, it is just -c to set a connection URI to connect to a MongoDB instance directly after application start.
func StoreConnection ¶
StoreConnection stores the passed connectionURI under the passed key into the secret store of the current OS
Types ¶
Click to show internal directories.
Click to hide internal directories.