Auth with global secret for admin endpoints

This commit is contained in:
simon987
2019-03-09 13:05:31 -05:00
parent e2ba51b77a
commit b095c92cfd
5 changed files with 118 additions and 14 deletions

View File

@@ -7,7 +7,8 @@ import (
)
type GenericResponse struct {
Ok bool `json:"ok"`
Ok bool `json:"ok"`
Message string `json:"message,omitempty"`
}
type AllocateUploadSlotRequest struct {