overflow_probes/collector/collector.go

39 lines
547 B
Go
Raw Normal View History

2017-09-29 12:30:27 +00:00
package collector
import (
"git.loafle.net/overflow/overflow_probes/commons"
)
const (
metricEntryPoint = "/metric"
)
type collector struct {
*commons.Handlers
}
func New() (CollectorHandler, error) {
var err error
c := &collector{}
c.Handlers = commons.NewHandlers()
return c, nil
}
func (c *collector) Start() error {
return nil
}
func (c *collector) Stop() error {
return nil
}
func (c *collector) Add() error {
return nil
}
func (c *collector) Remove() error {
return nil
}
func (c *collector) Update() error {
return nil
}