Documentation
¶
Overview ¶
Package storage define implementações de provedores de armazenamento
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory manages storage provider instances
func NewFactory ¶
NewFactory creates a new storage provider factory
func NewFactoryWithProviders ¶
func NewFactoryWithProviders(providers map[string]interfaces.StorageProvider, logger *slog.Logger) *Factory
NewFactoryWithProviders creates a factory pre-populated with a provider map and logger (for testing)
func (*Factory) GetProvider ¶
func (f *Factory) GetProvider(id string) (interfaces.StorageProvider, error)
type Provider ¶
type Provider = interfaces.StorageProvider
Provider é um alias para interfaces.StorageProvider para manter compatibilidade
Click to show internal directories.
Click to hide internal directories.