| 65 | var _ TLSer = (*TLSSelfSignedConfig)(nil) |
| 66 | |
| 67 | type TLSSelfSignedConfig struct { |
| 68 | cacheDir string |
| 69 | certFile string |
| 70 | keyFile string |
| 71 | expirationDays int |
| 72 | wanIPs []string // IP addresses to include in the certificate. |
| 73 | } |
| 74 | |
| 75 | func NewTLSSelfSignedConfig(opts ...TLSSelfSignedOption) *TLSSelfSignedConfig { |
| 76 | o := defaultTLSSelfSignedOptions() |
nothing calls this directly
no outgoing calls
no test coverage detected