Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPFSCluster ¶
type IPFSCluster struct {
Client clusterClient.Client
}
IPFSCluster Storage struct
func GetIPFSClusterStorage ¶
func GetIPFSClusterStorage(storageConfig config.StorageConfiguration) (*IPFSCluster, error)
GetIPFSClusterStorage connection to the Storage Server
func (*IPFSCluster) UploadVideo ¶
UploadVideo in path to Storage
type Storage ¶
type Storage interface {
UploadVideo(context.Context, string) (string, error)
GetVideo(context.Context, string, string) error
}
Storage interface
func GetStorageClient ¶
func GetStorageClient(storageConfig config.StorageConfiguration) (Storage, error)
GetStorageClient using the configuration
Click to show internal directories.
Click to hide internal directories.