Dcoument Config.StoreComposer
This commit is contained in:
parent
e6e6637693
commit
4191b2a821
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue