mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-17 05:18:58 +08:00
feat: implement channel healthcheck and sentinel auto-healing
This commit is contained in:
@@ -17,6 +17,7 @@ type Channel interface {
|
||||
Send(ctx context.Context, msg bus.OutboundMessage) error
|
||||
IsRunning() bool
|
||||
IsAllowed(senderID string) bool
|
||||
HealthCheck(ctx context.Context) error
|
||||
}
|
||||
|
||||
type BaseChannel struct {
|
||||
|
||||
Reference in New Issue
Block a user