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:
Leander Beernaert
2023-07-18 15:14:30 +02:00
parent d120bbeffc
commit 8d028966c7
6 changed files with 64 additions and 20 deletions

View File

@ -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()