# Functions
ConnectToDB will connect to a MongoDB instance based on the specified credentials.
ConnectToStorj reads Storj configuration from given file and connects to the desired Storj network.
Execute adds all child commands to the root command and sets flags appropriately.
LoadMongoProperty reads and parses the JSON file that contain a MongoDB instance's credentials.
LoadStorjConfiguration reads and parses the JSON file that contain Storj configuration information.
MatchAndRestore finds the databases corresponding the pattern entered by the user and restores the latest backup of each matching database.
RestoreData restores the latest backup correspoinding to the path provided.
ShareAccess generates and prints the shareable serialized access as per the restrictions provided by the user.
UploadData uploads the backup file to storj network.
# Structs
ConfigMongoDB defines the variables and types.
ConfigStorj depicts keys to search for within the stroj_config.json file.
MongoReader implements an io.Reader interface.