mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
chore(GODT-2799): Move Identifier interface to separate module
Required so we can move the smtp backend into the smtp service module.
This commit is contained in:
@ -34,20 +34,6 @@ type Locator interface {
|
||||
Clear(...string) error
|
||||
}
|
||||
|
||||
type Identifier interface {
|
||||
GetUserAgent() string
|
||||
HasClient() bool
|
||||
SetClient(name, version string)
|
||||
SetPlatform(platform string)
|
||||
SetClientString(client string)
|
||||
GetClientString() string
|
||||
}
|
||||
|
||||
type UserAgentUpdater interface {
|
||||
Identifier
|
||||
SetUserAgent(name, version string)
|
||||
}
|
||||
|
||||
type ProxyController interface {
|
||||
AllowProxy()
|
||||
DisallowProxy()
|
||||
|
||||
Reference in New Issue
Block a user