overflow_probes/probe/probe.go
crusader 5a9359c3af ing
2017-09-21 20:04:30 +09:00

34 lines
382 B
Go

package probe
import (
"context"
"git.loafle.net/overflow/overflow_probes/commons"
)
func New(configDir string) Probe {
p := &probe{
configDir: configDir,
}
return p
}
type Probe interface {
commons.Handler
}
type probe struct {
configDir string
}
func (p *probe) Listen() error {
return nil
}
func (p *probe) Shutdown(ctx context.Context) error {
return nil
}