File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -265,11 +265,13 @@ type Options struct {
265265 // PrivateKey is the Google service account private key.
266266 // Exactly one of PrivateKey or SignBytes must be non-nil to use SignedURL.
267267 // See https://godoc.org/cloud.google.com/go/storage#SignedURLOptions.
268+ // Deprecated: Use MakeSignBytes instead.
268269 PrivateKey []byte
269270
270271 // SignBytes is a function for implementing custom signing.
271272 // Exactly one of PrivateKey, SignBytes, or MakeSignBytes must be non-nil to use SignedURL.
272273 // See https://godoc.org/cloud.google.com/go/storage#SignedURLOptions.
274+ // Deprecated: Use MakeSignBytes instead.
273275 SignBytes func ([]byte ) ([]byte , error )
274276
275277 // MakeSignBytes is a factory for functions that are being used in place of an empty SignBytes.
You can’t perform that action at this time.
0 commit comments