Add line wrap to NewBrokerChannelWithUTlsSettings

This commit is contained in:
Shelikhoo 2022-02-11 10:23:15 +00:00
parent f525490032
commit e3aeb5fe5b
No known key found for this signature in database
GPG key ID: C4D5E79D22B25316

View file

@ -62,7 +62,8 @@ func NewBrokerChannel(broker, ampCache, front string, keepLocalAddresses bool) (
// NewBrokerChannelWithUTlsSettings construct a new BrokerChannel, where: // NewBrokerChannelWithUTlsSettings construct a new BrokerChannel, where:
// |broker| is the full URL of the facilitating program which assigns proxies // |broker| is the full URL of the facilitating program which assigns proxies
// to clients, and |front| is the option fronting domain. // to clients, and |front| is the option fronting domain.
func NewBrokerChannelWithUTlsSettings(broker, ampCache, front string, keepLocalAddresses bool, utlsClientID string, removeSNI bool) (*BrokerChannel, error) { func NewBrokerChannelWithUTlsSettings(broker, ampCache, front string, keepLocalAddresses bool,
utlsClientID string, removeSNI bool) (*BrokerChannel, error) {
log.Println("Rendezvous using Broker at:", broker) log.Println("Rendezvous using Broker at:", broker)
if ampCache != "" { if ampCache != "" {
log.Println("Through AMP cache at:", ampCache) log.Println("Through AMP cache at:", ampCache)