go-wifi-switcher/pkg/provider/provider.go

13 lines
184 B
Go
Raw Normal View History

2023-06-02 03:24:12 +02:00
package provider
2023-12-27 07:38:48 +01:00
import "time"
2023-06-02 03:24:12 +02:00
type ProviderIface interface {
2023-12-27 07:38:48 +01:00
Login(string, string) error
SwitchWIFI(SwitchConfig) error
}
type SwitchConfig struct {
SubmitDelay time.Duration
2023-06-02 03:24:12 +02:00
}