Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Server.Enable* with backend Features() method #107

Open
foxcpp opened this issue Jun 23, 2020 · 0 comments · May be fixed by #112
Open

Replace Server.Enable* with backend Features() method #107

foxcpp opened this issue Jun 23, 2020 · 0 comments · May be fixed by #112
Labels

Comments

@foxcpp
Copy link
Collaborator

foxcpp commented Jun 23, 2020

type Feature int
const (
   FeatureSMTPUTF8 = 1<<iota
   FeatureREQUIRETLS
   FeatureBINARYMIME
)

// ...
type Backend interface {
  // ...
  Features() Feature
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants