diff --git a/config.go b/config.go index e84babc..d73cb99 100644 --- a/config.go +++ b/config.go @@ -10,8 +10,12 @@ import ( // Config provides a way to configure the Handler depending on your needs. type Config struct { // DataStore implementation used to store and retrieve the single uploads. - // Must no be nil. + // The usage of this field is deprecated and should be avoided in favor of + // StoreComposer. DataStore DataStore + // StoreComposer points to the store composer from which the core data store + // and optional dependencies should be taken. May only be nil if DataStore is + // set. StoreComposer *StoreComposer // MaxSize defines how many bytes may be stored in one single upload. If its // value is is 0 or smaller no limit will be enforced.