method

App.OpenUpload

Open an object after proving it belongs to an access-visible upload document.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionstringThe collection value.
keystringThe key value.
actor*store.DocumentThe actor value.

Returns

The declared result.

(io.ReadCloser, storage.Object, error)

Full signature

func (application *App) OpenUpload( ctx context.Context, collection, key string, actor *store.Document, ) (io.ReadCloser, storage.Object, error)

Source core/uploads.go:393

Related types

  • App

    A resolved application bound to operation services.

  • Document

    A stored document with status and version metadata.

  • Object

    Object identity and authoritative content metadata.