mirror of
https://github.com/bolucat/Archive.git
synced 2025-11-02 12:44:34 +08:00
Update On Sat Jun 15 20:30:11 CEST 2024
This commit is contained in:
14
echo/internal/glue/interface.go
Normal file
14
echo/internal/glue/interface.go
Normal file
@@ -0,0 +1,14 @@
|
||||
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) error
|
||||
}
|
||||
Reference in New Issue
Block a user