server: document lack of built-in authentication on Server type
This commit is contained in:
parent
2fa44f69a4
commit
36a72f013a
1 changed files with 4 additions and 0 deletions
|
|
@ -33,6 +33,10 @@ const maxRequestBodySize = 1 << 20
|
||||||
// CheckerDefinitionProvider, it also exposes /definition and /evaluate.
|
// CheckerDefinitionProvider, it also exposes /definition and /evaluate.
|
||||||
// If the provider implements CheckerHTMLReporter or CheckerMetricsReporter,
|
// If the provider implements CheckerHTMLReporter or CheckerMetricsReporter,
|
||||||
// it also exposes /report.
|
// it also exposes /report.
|
||||||
|
//
|
||||||
|
// Security: Server does not perform any authentication or authorization.
|
||||||
|
// It is intended to be run behind a reverse proxy or in a trusted network
|
||||||
|
// where access control is handled externally (e.g. by the happyDomain server).
|
||||||
type Server struct {
|
type Server struct {
|
||||||
provider ObservationProvider
|
provider ObservationProvider
|
||||||
definition *CheckerDefinition
|
definition *CheckerDefinition
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue