Documentation ¶
Index ¶
- func NewPool(addr string) *redigo.Pool
- type ApiKeyStorage
- type ApiKeyStorageConfig
- type MediaStorage
- type MediaStorageConfig
- type NamedTransformationStorage
- func (s *NamedTransformationStorage) Delete(name string) error
- func (s *NamedTransformationStorage) DeleteAll() error
- func (s *NamedTransformationStorage) Get(name string) (*transformation.NamedTransformation, error)
- func (s *NamedTransformationStorage) GetAll() (transformation.NamedTransformations, error)
- func (s *NamedTransformationStorage) Save(namedTransformation transformation.NamedTransformation) error
- type NamedTransformationStorageConfig
- type TaskStorage
- type TaskStorageConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiKeyStorage ¶
type ApiKeyStorage struct {
// contains filtered or unexported fields
}
func NewApiKeyStorage ¶
func NewApiKeyStorage(c *ApiKeyStorageConfig) *ApiKeyStorage
func (*ApiKeyStorage) Delete ¶
func (s *ApiKeyStorage) Delete(key string) error
type ApiKeyStorageConfig ¶
type MediaStorage ¶
type MediaStorage struct {
// contains filtered or unexported fields
}
func NewMediaStorage ¶
func NewMediaStorage(c MediaStorageConfig) *MediaStorage
func (*MediaStorage) ReadMany ¶
func (s *MediaStorage) ReadMany(in media.ReadManyInput) ([]media.Media, error)
type MediaStorageConfig ¶
type NamedTransformationStorage ¶
type NamedTransformationStorage struct {
// contains filtered or unexported fields
}
func NewNamedTransformationStorage ¶
func NewNamedTransformationStorage(c *NamedTransformationStorageConfig) *NamedTransformationStorage
func (*NamedTransformationStorage) Delete ¶
func (s *NamedTransformationStorage) Delete(name string) error
func (*NamedTransformationStorage) DeleteAll ¶
func (s *NamedTransformationStorage) DeleteAll() error
func (*NamedTransformationStorage) Get ¶
func (s *NamedTransformationStorage) Get(name string) (*transformation.NamedTransformation, error)
func (*NamedTransformationStorage) GetAll ¶
func (s *NamedTransformationStorage) GetAll() (transformation.NamedTransformations, error)
func (*NamedTransformationStorage) Save ¶
func (s *NamedTransformationStorage) Save(namedTransformation transformation.NamedTransformation) error
type TaskStorage ¶
type TaskStorage struct {
// contains filtered or unexported fields
}
func NewTaskStorage ¶
func NewTaskStorage(c *TaskStorageConfig) *TaskStorage
func (*TaskStorage) GetPending ¶
func (s *TaskStorage) GetPending() (*task.Task, error)
type TaskStorageConfig ¶
Click to show internal directories.
Click to hide internal directories.