File uploads, mostly. Also added extra behavior to addCharacter.
the build was successful

This commit is contained in:
2019-08-31 22:46:55 +02:00
parent 8a313b3bb2
commit c8ced52e1a
17 changed files with 175 additions and 25 deletions
+1
View File
@@ -30,6 +30,7 @@ type Space struct {
Bucket string `json:"bucket" yaml:"bucket"`
MaxSize int64 `json:"maxSize" yaml:"maxSize"`
Root string `json:"root" yaml:"root"`
URLRoot string `json:"urlRoot" yaml:"urlRoot"`
}
// Database is configuration for spaces.
+5
View File
@@ -63,6 +63,11 @@ func FileID() string {
return ID("F", 16)
}
// FileID generates a file ID.
func FileUploadID() string {
return ID("U", 24)
}
func KeyID() string {
return ID("K", 32)
}