From 4191b2a8219af1a5fbd20a301c1a52777dd45b11 Mon Sep 17 00:00:00 2001 From: Marius Date: Sat, 12 Mar 2016 16:51:00 +0100 Subject: [PATCH] Dcoument Config.StoreComposer --- config.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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.