(caFilePath string)
| 55 | type Option func(*newOptionalArg) |
| 56 | |
| 57 | func WithCAFile(caFilePath string) Option { |
| 58 | return func(opt *newOptionalArg) { |
| 59 | opt.caFilePath = caFilePath |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | // WithCAContent sets the CA certificate content (PEM format or base64-encoded) |
| 64 | func WithCAContent(content string) Option { |
no outgoing calls