feat(files): add uploadings api (#30)

* fix(uploader, files/handlers): fix incorrect unlock, catch and check after calling api

* fix(uploader): fix uploader test

* feat(files): add uploadings api

* fix(files): register uploading handlers to api

Co-authored-by: Jia He <jiah@nvidia.com>
This commit is contained in:
Hexxa 2021-01-11 22:57:02 +08:00 committed by GitHub
parent a909df384d
commit 67c07cc81f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 398 additions and 83 deletions

View file

@ -170,11 +170,26 @@ func (st *MemStore) AddNamespace(nsName string) error {
return errors.New("not implemented")
}
func (st *MemStore) GetInt64In(namespace, key string) (int64, bool) {
panic("not implemented")
}
func (st *MemStore) SetInt64In(namespace, key string, val int64) error {
panic("not implemented")
}
func (st *MemStore) ListInt64sIn(namespace, key string) (map[string]int64, error) {
panic("not implemented")
}
func (st *MemStore) GetStringIn(namespace, key string) (string, bool) {
panic("not implemented")
return "", false
}
func (st *MemStore) SetStringIn(namespace, key, val string) error {
return errors.New("not implemented")
panic("not implemented")
}
func (st *MemStore) ListStringsIn(namespace, key string) (map[string]string, error) {
panic("not implemented")
}