Fix: clear IP data when VPN is stopped

This commit is contained in:
Quentin McGaw (desktop)
2021-09-06 13:28:05 +00:00
parent f9cb71027c
commit 6b6caa435f
5 changed files with 9 additions and 7 deletions

View File

@@ -5,12 +5,8 @@ import (
)
type DataGetSetter interface {
DataGetter
SetData(data models.IPInfoData)
}
type DataGetter interface {
GetData() (data models.IPInfoData)
SetData(data models.IPInfoData)
}
func (s *State) GetData() (data models.IPInfoData) {