meowlib/servercard.go
ycc 978b6fdfd1
Some checks failed
continuous-integration/drone/push Build is failing
badgerdb messageservers storage
2024-02-08 22:17:16 +01:00

10 lines
203 B
Go

package meowlib
func (sc *ServerCard) GetUid() string {
return sc.Login + ":" + sc.Password + "@" + sc.Url
}
func (sc *ServerCard) IsSame(sc1 *ServerCard) bool {
return sc.GetUid() == sc1.GetUid()
}