WithPushConfig sets the cfg field on the push configuration object.
(cfg *Configuration)
| 45 | |
| 46 | // WithPushConfig sets the cfg field on the push configuration object. |
| 47 | func WithPushConfig(cfg *Configuration) PushOpt { |
| 48 | return func(p *Push) { |
| 49 | p.cfg = cfg |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | // WithTLSClientConfig sets the certFile, keyFile, and caFile fields on the push configuration object. |
| 54 | func WithTLSClientConfig(certFile, keyFile, caFile string) PushOpt { |
no outgoing calls
searching dependent graphs…