Dcoument Config.StoreComposer

This commit is contained in:
Marius 2016-03-12 16:51:00 +01:00
parent e6e6637693
commit 4191b2a821
1 changed files with 5 additions and 1 deletions

View File

@ -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.