type ResourceConsumerHandler …
func NewResourceConsumerHandler() *ResourceConsumerHandler { … }
func (handler *ResourceConsumerHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { … }
func (handler *ResourceConsumerHandler) handleConsumeCPU(w http.ResponseWriter, query url.Values) { … }
func (handler *ResourceConsumerHandler) handleConsumeMem(w http.ResponseWriter, query url.Values) { … }
func (handler *ResourceConsumerHandler) handleGetCurrentStatus(w http.ResponseWriter) { … }
func (handler *ResourceConsumerHandler) handleMetrics(w http.ResponseWriter) { … }
func (handler *ResourceConsumerHandler) bumpMetric(metric string, delta float64, duration time.Duration) { … }
func (handler *ResourceConsumerHandler) handleBumpMetric(w http.ResponseWriter, query url.Values) { … }