Add support for configuration of TLS

This commit is contained in:
eikendev 2023-07-15 23:25:34 +02:00
parent 833e666c37
commit 61d5e04ecf
No known key found for this signature in database
GPG key ID: A1BDB1B28C8EF694
8 changed files with 65 additions and 12 deletions

View file

@ -3,5 +3,8 @@ package pberrors
import "errors"
// ErrorMessageNotFound indicates that a message does not exist
var ErrorMessageNotFound = errors.New("message not found")
// ErrMessageNotFound indicates that a message does not exist
var ErrMessageNotFound = errors.New("message not found")
// ErrConfigTLSFilesInconsistent indicates that either just a certfile or a keyfile was provided
var ErrConfigTLSFilesInconsistent = errors.New("TLS certfile and keyfile must either both be provided or omitted")