From 0ab2113fab64b5d6a3173550843ec93eae7c7b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 30 Sep 2016 07:40:58 +0200 Subject: [PATCH] docs(config): added missing smtp config section, fixes #6155 --- docs/sources/installation/configuration.md | 27 ++++++++++++++++++++++ pkg/core/core.go | 10 ++++++++ 2 files changed, 37 insertions(+) create mode 100644 pkg/core/core.go diff --git a/docs/sources/installation/configuration.md b/docs/sources/installation/configuration.md index 146ac68a08d..9a7a480f482 100644 --- a/docs/sources/installation/configuration.md +++ b/docs/sources/installation/configuration.md @@ -492,6 +492,33 @@ Grafana backend index those json dashboards which will make them appear in regul ### path The full path to a directory containing your json dashboards. +## [smtp] +Email server settings. + +### enabled +defaults to false + +### host +defaults to localhost:25 + +### user +In case of SMTP auth, defaults to `empty` + +### password +In case of SMTP auth, defaults to `empty` + +### cert_file +File path to a cert file, defaults to `empty` + +### key_file +File path to a key file, defaults to `empty` + +### skip_verify +Verify SSL for smtp server? defaults to `false` + +### from_address +Address used when sending out emails, defaults to `admin@grafana.localhost` + ## [log] ### mode diff --git a/pkg/core/core.go b/pkg/core/core.go new file mode 100644 index 00000000000..e6eba5fbe41 --- /dev/null +++ b/pkg/core/core.go @@ -0,0 +1,10 @@ +package core + +import "context" + +type GrafanaServer interface { + context.Context +} + +type GrafanaServerImpl struct { +}