Documentation
¶
Index ¶
- type PostgresDao
- type RedisDao
- type StorageDao
- func (_m *StorageDao) CheckExists(_a0 string, _a1 string) (bool, error)
- func (_m *StorageDao) GetObject(_a0 string, _a1 string) ([]byte, error)
- func (_m *StorageDao) RemoveObject(_a0 string, _a1 string) (bool, error)
- func (_m *StorageDao) WriteObject(_a0 string, _a1 string, _a2 string, _a3 []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresDao ¶
PostgresDao is an autogenerated mock type for the PostgresDao type
func (*PostgresDao) Create ¶
func (_m *PostgresDao) Create(_a0 *image.Material) error
Create provides a mock function with given fields: _a0
func (*PostgresDao) Delete ¶
func (_m *PostgresDao) Delete(_a0 uint) error
Delete provides a mock function with given fields: _a0
func (*PostgresDao) Get ¶
func (_m *PostgresDao) Get() (*[]image.Material, error)
Get provides a mock function with given fields:
type RedisDao ¶
RedisDao is an autogenerated mock type for the RedisDao type
type StorageDao ¶
StorageDao is an autogenerated mock type for the StorageDao type
func (*StorageDao) CheckExists ¶
func (_m *StorageDao) CheckExists(_a0 string, _a1 string) (bool, error)
CheckExists provides a mock function with given fields: _a0, _a1
func (*StorageDao) GetObject ¶
func (_m *StorageDao) GetObject(_a0 string, _a1 string) ([]byte, error)
GetObject provides a mock function with given fields: _a0, _a1
func (*StorageDao) RemoveObject ¶
func (_m *StorageDao) RemoveObject(_a0 string, _a1 string) (bool, error)
RemoveObject provides a mock function with given fields: _a0, _a1
func (*StorageDao) WriteObject ¶
WriteObject provides a mock function with given fields: _a0, _a1, _a2, _a3
Click to show internal directories.
Click to hide internal directories.