hermes/examples/maintenance.go
Mathieu Cornic be1f57b7ab feat: free content with markdown + new flat theme + minor fixes (#9)
* feat: possibility to use markdown as content of email + use pretty table when generating fallback plain text e-mails
* feat: new flat theme
* fix: add a break word policy in actions troubleshooting section, in order to have a better responsive display when using really long Link URL on action
* feat: better layout of dt and dl in HTML template
* feat: pretty tables in plain text
2017-05-31 20:36:16 +02:00

37 lines
749 B
Go

package main
import (
"github.com/matcornic/hermes"
)
type maintenance struct {
}
func (w *maintenance) Name() string {
return "maintenance"
}
func (w *maintenance) Email() hermes.Email {
return hermes.Email{
Body: hermes.Body{
Name: "Jon Snow",
FreeMarkdown: `
> _Hermes_ service will shutdown the **1st August 2017** for maintenance operations.
Services will be unavailable based on the following schedule:
| Services | Downtime |
| :------:| :-----------: |
| Service A | 2AM to 3AM |
| Service B | 4AM to 5AM |
| Service C | 5AM to 6AM |
---
Feel free to contact us for any question regarding this matter at [support@hermes-example.com](mailto:support@hermes-example.com) or in our [Gitter](https://gitter.im/)
`,
},
}
}