ing
This commit is contained in:
@@ -2,6 +2,8 @@ package probe
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.loafle.net/overflow/overflow_probes/commons"
|
||||
)
|
||||
|
||||
func New(configDir string) Probe {
|
||||
@@ -13,15 +15,14 @@ func New(configDir string) Probe {
|
||||
}
|
||||
|
||||
type Probe interface {
|
||||
Start() error
|
||||
Shutdown(ctx context.Context) error
|
||||
commons.Handler
|
||||
}
|
||||
|
||||
type probe struct {
|
||||
configDir string
|
||||
}
|
||||
|
||||
func (p *probe) Start() error {
|
||||
func (p *probe) Listen() error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user