Files
Archive/echo/internal/glue/interface.go
2024-07-02 20:34:19 +02:00

15 lines
242 B
Go

package glue
import (
"context"
)
type Reloader interface {
Reload(force bool) error
}
type HealthChecker interface {
// get relay by ID and check the connection health
HealthCheck(ctx context.Context, RelayID string) (int64, error)
}