overflow_probes/probe/probe.go
crusader 6fb6bc66d8 ing
2017-09-22 18:20:07 +09:00

34 lines
381 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) Serve() error {
return nil
}
func (p *probe) Shutdown(ctx context.Context) error {
return nil
}