|
|
|
@ -14,8 +14,11 @@ import (
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
// Build AFAIRE.
|
|
|
|
|
func Build(app components.Application, config components.Config, logger components.Logger, |
|
|
|
|
func Build(app components.Application, |
|
|
|
|
config components.Config, |
|
|
|
|
logger components.Logger, |
|
|
|
|
crypto components.Crypto) (components.Storage, error) { |
|
|
|
|
|
|
|
|
|
cfg := config.Storage() |
|
|
|
|
|
|
|
|
|
switch cfg.Type { |
|
|
|
|