mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-26 11:46:44 +00:00
Other(refactor): Move TLS to Bridge
This commit is contained in:
@ -19,6 +19,8 @@
|
||||
package types
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
|
||||
"github.com/ProtonMail/proton-bridge/v2/internal/bridge"
|
||||
"github.com/ProtonMail/proton-bridge/v2/internal/updater"
|
||||
"github.com/ProtonMail/proton-bridge/v2/pkg/pmapi"
|
||||
@ -77,6 +79,10 @@ type User interface {
|
||||
type Bridger interface {
|
||||
UserManager
|
||||
|
||||
GetTLSConfig() (*tls.Config, error)
|
||||
|
||||
// -- old --
|
||||
|
||||
ReportBug(osType, osVersion, description, accountName, address, emailClient string, attachLogs bool) error
|
||||
SetProxyAllowed(bool)
|
||||
GetProxyAllowed() bool
|
||||
|
||||
Reference in New Issue
Block a user