Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapeMarkdown ¶
func RandomString ¶
func TruncateInRunes ¶
TruncateInRunes truncates a string to fit the given size in Runes. https://github.com/prometheus/alertmanager/blob/dc1466487a537ea7cfce366b69429ac79a04a221/notify/util.go#L89
Types ¶
type NeuteredFileSystem ¶
type RouterSwapper ¶
type RouterSwapper struct { Root *mux.Router Prefix string // contains filtered or unexported fields }
func (*RouterSwapper) ServeHTTP ¶
func (rs *RouterSwapper) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (*RouterSwapper) Swap ¶
func (rs *RouterSwapper) Swap(newRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.