Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectedPromql ¶ added in v0.0.4
Types ¶
type DebugTransport ¶
type DebugTransport struct{}
type MockProxy ¶ added in v0.0.4
type MockProxy struct {
// contains filtered or unexported fields
}
func (*MockProxy) ProxyRequest ¶ added in v0.0.4
func (p *MockProxy) ProxyRequest(w http.ResponseWriter, req *http.Request, config *config.VirtualHost)
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy model
func (*Proxy) ProxyRequest ¶
func (p *Proxy) ProxyRequest(w http.ResponseWriter, req *http.Request, config *config.VirtualHost)
ProxyRequest to upstream Prometheus server
type RequestProxy ¶ added in v0.0.4
type RequestProxy interface {
ProxyRequest(w http.ResponseWriter, req *http.Request, config *config.VirtualHost)
}
RequestProxy for upstream server
Click to show internal directories.
Click to hide internal directories.