ClientOptPlainHTTP returns a function that enables plain HTTP (non-TLS) communication for the registry client.
()
| 212 | // ClientOptPlainHTTP returns a function that enables plain HTTP (non-TLS) |
| 213 | // communication for the registry client. |
| 214 | func ClientOptPlainHTTP() ClientOption { |
| 215 | return func(c *Client) { |
| 216 | c.plainHTTP = true |
| 217 | } |
| 218 | } |
| 219 | |
| 220 | type ( |
| 221 | // LoginOption allows specifying various settings on login |
no outgoing calls
searching dependent graphs…