Skip to content

Commit b7519bf

Browse files
authored
chore(docs): fix godoc for WithTlsInsecureSkipVerify (#19)
1 parent becd829 commit b7519bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sender.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ func WithTls() LineSenderOption {
108108
}
109109
}
110110

111-
// WithTls enables TLS connection encryption, but skips server
112-
// certificate verification. Useful in test environments with
113-
// self-signed certificates. Do not use in production
114-
// environments.
111+
// WithTlsInsecureSkipVerify enables TLS connection encryption,
112+
// but skips server certificate verification. Useful in test
113+
// environments with self-signed certificates. Do not use in
114+
// production environments.
115115
func WithTlsInsecureSkipVerify() LineSenderOption {
116116
return func(s *LineSender) {
117117
s.tlsMode = tlsInsecureSkipVerify

0 commit comments

Comments
 (0)