Skip to content

Commit

Permalink
chore(docs): fix godoc for WithTlsInsecureSkipVerify (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
puzpuzpuz authored Oct 6, 2023
1 parent becd829 commit b7519bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ func WithTls() LineSenderOption {
}
}

// WithTls enables TLS connection encryption, but skips server
// certificate verification. Useful in test environments with
// self-signed certificates. Do not use in production
// environments.
// WithTlsInsecureSkipVerify enables TLS connection encryption,
// but skips server certificate verification. Useful in test
// environments with self-signed certificates. Do not use in
// production environments.
func WithTlsInsecureSkipVerify() LineSenderOption {
return func(s *LineSender) {
s.tlsMode = tlsInsecureSkipVerify
Expand Down

0 comments on commit b7519bf

Please sign in to comment.