39 lines
547 B
Go
39 lines
547 B
Go
|
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
|
||
|
}
|