Set adds a key value pair to the options. The key-value pair will be part of the HTTP GET request headers.
(key, value string)
| 745 | // key-value pair will be part of the HTTP GET request |
| 746 | // headers. |
| 747 | func (o *ListObjectsOptions) Set(key, value string) { |
| 748 | if o.headers == nil { |
| 749 | o.headers = make(http.Header) |
| 750 | } |
| 751 | o.headers.Set(key, value) |
| 752 | } |
| 753 | |
| 754 | // ListObjects returns objects list after evaluating the passed options. |
| 755 | // |
no outgoing calls
no test coverage detected