Fix storage modules types and interfaces to compile server
This commit is contained in:
committed by
=Michael Hohn
parent
6229c08900
commit
8b310e43ad
16
pkg/qpstore/qpstore.go
Normal file
16
pkg/qpstore/qpstore.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package qpstore
|
||||
|
||||
type Visibles struct{}
|
||||
|
||||
type StorageQP struct{}
|
||||
|
||||
func NewStore(v *Visibles) (Storage, error) {
|
||||
s := StorageQP{}
|
||||
|
||||
return &s, nil
|
||||
}
|
||||
|
||||
func (s *StorageQP) SaveQueryPack(tgz []byte, sessionID int) (storagePath string, error error) {
|
||||
// TODO implement
|
||||
return "", nil
|
||||
}
|
||||
Reference in New Issue
Block a user