Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "local"
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(config mediastore.ServiceConfig) (mediastore.Service, error)
Types ¶
type Config ¶
type Config struct {
DirectoryPath string `env:"FOLDER_PATH" yaml:"folder_path" json:"folder_path"`
}
func ConfigSkeleton ¶
func ConfigSkeleton() Config
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetPublicObject ¶
func (*Service) PutObject ¶
func (s *Service) PutObject(objectKey string, contentSource io.Reader) (uploadInfo *mediastore.UploadInfo, err error)
Click to show internal directories.
Click to hide internal directories.