mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Update kafka.go
Co-authored-by: Urban Ishimwe <urbainishimwe@gmail.com>
This commit is contained in:
co-authored by
Urban Ishimwe
parent
3fcdb6f1bc
commit
716fb72e27
@@ -51,10 +51,6 @@ type KafkaMessage struct {
|
||||
ReqHeaders map[string]string `json:"Req_Headers,omitempty"`
|
||||
}
|
||||
|
||||
// ErrorTLSMissingKey is the error when client cert is present but key is missing
|
||||
var ErrorTLSMissingKey = errors.New("Missing key of client certificate")
|
||||
// ErrorTLSMissingCert is the error when key is present but client cert is missing
|
||||
var ErrorTLSMissingCert = errors.New("Missing client certificate")
|
||||
|
||||
// NewTLSConfig loads TLS certificates
|
||||
func NewTLSConfig(clientCertFile, clientKeyFile, caCertFile string) (*tls.Config, error) {
|
||||
|
||||
Reference in New Issue
Block a user