Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model interface { StorageModel db.AutoMigrater }
type Storage ¶
type StorageModel ¶
type StorageModel interface { CreateStorage(storageParams StorageParams) error UpdateStorageByKey(key string, storageParams StorageParams) error ReadStorageByKey(key string, isIncludeValue bool) (*Storage, error) ReadStorageByKeys(key []string, isIncludeValue bool) ([]*Storage, error) ReadAllStorage(isIncludeValue bool) ([]*Storage, error) DeleteStorageByKey(key string) (*Storage, error) IsExistStorageByKey(key string) (bool, error) ReadStoragesByQuery(keys, excludePermission, includePermission []string, isIncludeValue bool) ([]*Storage, error) }
type StorageParams ¶
Click to show internal directories.
Click to hide internal directories.