2025-12-07 11:05:43 +08:00
|
|
|
package settings
|
|
|
|
|
|
2026-08-21 11:45:39 +08:00
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
|
|
|
|
|
"github.com/sagernet/sing-box/adapter"
|
|
|
|
|
)
|
2025-12-07 11:05:43 +08:00
|
|
|
|
|
|
|
|
type WIFIMonitor interface {
|
2026-08-21 11:45:39 +08:00
|
|
|
ReadWIFIState(ctx context.Context) adapter.WIFIState
|
2025-12-07 11:05:43 +08:00
|
|
|
Start() error
|
|
|
|
|
Close() error
|
|
|
|
|
}
|