Esempio n. 1
0
func init() {
	blobserver.RegisterStorageConstructor("appengine", blobserver.StorageConstructor(newFromConfig))

	config, err := serverconfig.Load("./config.json")
	if err != nil {
		exitFailure("Could not load server config: %v", err)
	}

	baseURL := ""
	err = config.InstallHandlers(mux, baseURL)
	if err != nil {
		exitFailure("Error parsing config: %v", err)
	}
}
Esempio n. 2
0
func init() {
	blobserver.RegisterStorageConstructor("remote", blobserver.StorageConstructor(newFromConfig))
}
Esempio n. 3
0
func init() {
	blobserver.RegisterStorageConstructor("filesystem", blobserver.StorageConstructor(newFromConfig))
}
Esempio n. 4
0
func init() {
	blobserver.RegisterStorageConstructor("mysqlindexer", blobserver.StorageConstructor(newFromConfig))
}