mirror of
https://github.com/owncast/owncast.git
synced 2024-11-26 23:24:29 +03:00
11 lines
325 B
Go
11 lines
325 B
Go
package models
|
|
|
|
// StorageProvider is how a chunk storage provider should be implemented.
|
|
type StorageProvider interface {
|
|
Setup() error
|
|
Save(filePath string, retryCount int) (string, error)
|
|
|
|
SegmentWritten(localFilePath string)
|
|
VariantPlaylistWritten(localFilePath string)
|
|
MasterPlaylistWritten(localFilePath string)
|
|
}
|