interface

URLSigner

Create explicit, time-limited direct-download URLs.

Properties

PropertyTypeDescription
SignedURLfunc(context.Context, string, time.Duration) (string, error)The SignedURL value.

How it works

Private delivery is normally mediated by Ridu. URLSigner is optional and intended only for deliberate direct-download flows.

Full signature

type URLSigner interface { SignedURL(context.Context, string, time.Duration) (string, error) }

Source storage/storage.go:68