WithKeyer is an option that changes the path of the uploaded file.
(keyer contract.Keyer)
| 63 | |
| 64 | // WithKeyer is an option that changes the path of the uploaded file. |
| 65 | func WithKeyer(keyer contract.Keyer) ManagerOptionFunc { |
| 66 | return func(c *ManagerConfig) { |
| 67 | c.keyer = keyer |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | // WithHTTPClient is an option that replaces the default http client. Useful for interceptors like tracing and metrics. |
| 72 | func WithHTTPClient(client contract.HttpDoer) ManagerOptionFunc { |
no outgoing calls