overflow_probes/probe/probe.go

33 lines
364 B
Go
Raw Normal View History

2017-09-18 09:21:58 +00:00
package probe
import (
"context"
)
2017-09-21 08:38:05 +00:00
func New(configDir string) Probe {
p := &probe{
configDir: configDir,
}
2017-09-18 09:21:58 +00:00
return p
}
type Probe interface {
Start() error
Shutdown(ctx context.Context) error
}
type probe struct {
2017-09-21 08:38:05 +00:00
configDir string
2017-09-18 09:21:58 +00:00
}
func (p *probe) Start() error {
return nil
}
func (p *probe) Shutdown(ctx context.Context) error {
return nil
}