35 lines
812 B
Go
35 lines
812 B
Go
|
package main
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
// Attempts to connect to WebDAV server, verifying that the authentication data
|
||
|
// works and that the server is one for uploads with museum-digital.
|
||
|
// A museum-digital WebDAV directory can be identified by the availability of the
|
||
|
// directories IMPORT_IMG and IMPORT_XML.
|
||
|
func verifyConnection(config MDWebDavUploaderConfig) bool {
|
||
|
|
||
|
}
|
||
|
|
||
|
// Generates the contents of the file import_config.txt necessary
|
||
|
// to let museum-digital know about the required import configuration.
|
||
|
func generateImportConfigFile() string {
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
// Uploads metadata files to the configured instance of
|
||
|
// museum-digital / musdb.
|
||
|
func uploadMetadataFiles() {
|
||
|
|
||
|
}
|
||
|
|
||
|
// Uploads media files to the configured instance of
|
||
|
// museum-digital / musdb.
|
||
|
func uploadMediaFiles() {
|
||
|
|
||
|
}
|
||
|
|
||
|
func main() {
|
||
|
fmt.Println("hi")
|
||
|
}
|