Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { storage_service_public.Service ReadStorageByKey(key string, isIncludeValue bool) (*storage_model.Storage, error) UpdateStorageByKey(key string, storageParams storage_model.StorageParams) error DeleteStorageByKey(key string) (*storage_model.Storage, error) CreateStorage(storageParams storage_model.StorageParams) error ReadStoragesByKeys(keys []string, isIncludeValue bool) ([]*storage_model.Storage, error) ReadAllStorages(isIncludeValue bool) ([]*storage_model.Storage, error) ReadStoragesByQuery(keys, excludePermission, includePermission []string, isIncludeValue bool) ([]*storage_model.Storage, error) }
func New ¶
func New(db *gorm.DB, model storage_model.Model, publicService storage_service_public.Service) Service
Click to show internal directories.
Click to hide internal directories.