mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 23:19:41 -08:00
41c22effbe
With v0.16.0 Alertmanager introduced a new API (v2). This patch adds a configuration option for Prometheus to send alerts to the v2 endpoint instead of the defautl v1 endpoint. Signed-off-by: Max Leonard Inden <IndenML@gmail.com>
17 lines
595 B
Markdown
17 lines
595 B
Markdown
urlesc [![Build Status](https://travis-ci.org/PuerkitoBio/urlesc.svg?branch=master)](https://travis-ci.org/PuerkitoBio/urlesc) [![GoDoc](http://godoc.org/github.com/PuerkitoBio/urlesc?status.svg)](http://godoc.org/github.com/PuerkitoBio/urlesc)
|
|
======
|
|
|
|
Package urlesc implements query escaping as per RFC 3986.
|
|
|
|
It contains some parts of the net/url package, modified so as to allow
|
|
some reserved characters incorrectly escaped by net/url (see [issue 5684](https://github.com/golang/go/issues/5684)).
|
|
|
|
## Install
|
|
|
|
go get github.com/PuerkitoBio/urlesc
|
|
|
|
## License
|
|
|
|
Go license (BSD-3-Clause)
|
|
|