method

App.OpenUploadWithOptions

Authorize a document-backed object read.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionstringThe collection value.
keystringThe key value.
optionsFindOptionsThe options value.

Returns

The declared result.

(io.ReadCloser, storage.Object, error)

How it works

Private delivery remains mediated by Ridu unless an explicit storage.URLSigner flow is used. Close the returned reader.

Full signature

func (application *App) OpenUploadWithOptions( ctx context.Context, collection, key string, options FindOptions, ) (io.ReadCloser, storage.Object, error)

Source core/uploads.go:409

Related types

  • App

    A resolved application bound to operation services.

  • FindOptions

    Projection, population, authorization, draft, trash, and locale controls for one read.

  • Object

    Object identity and authoritative content metadata.