(certFile, keyFile string)
| 6 | ) |
| 7 | |
| 8 | func validateTLSFiles(certFile, keyFile string) error { |
| 9 | if certFile == "" || keyFile == "" { |
| 10 | return fmt.Errorf("TLS certificate and key are required") |
| 11 | } |
| 12 | return nil |
| 13 | } |
| 14 | |
| 15 | func validateUsers(users map[string]string) error { |
| 16 | if len(users) == 0 { |
no outgoing calls